{template 'common/header'}
<div class="main">
	<form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form1">
		<ul class="nav nav-tabs" role="tablist">
		    <li role="presentation" class="active"><a href="#basic" role="tab" data-toggle="tab">基础信息设置</a></li>
			<li role="presentation"><a href="#waimaittnew" style="color:red;" role="tab" data-toggle="tab">首页设置（新版本）</a></li>
			<li role="presentation"><a href="#xcx" role="tab" data-toggle="tab">小程序订阅消息设置</a></li>
			<li role="presentation"><a href="#fenxiao" role="tab" data-toggle="tab">分销/佣金设置</a></li>
			<li role="presentation"><a href="#jutuike" style="color:blue;" role="tab" data-toggle="tab">聚推客联盟佣金设置</a></li>
			<li role="presentation"><a href="#cash" role="tab" data-toggle="tab">提现设置</a></li>
			<li role="presentation"><a href="#gzh" role="tab" data-toggle="tab">公众号设置</a></li>
			<li role="presentation"><a href="#waimai" role="tab" data-toggle="tab" style="display:none;">外卖1版首页设置</a></li>
			<li role="presentation"><a href="#waimaitt" role="tab" data-toggle="tab" style="display:none;">外卖2版首页设置</a></li>
			<li role="presentation"><a href="#waimainew" role="tab" data-toggle="tab" style="display:none;">外卖3版首页设置</a></li>
			<li role="presentation"><a href="#waimaitt-meituan" role="tab" data-toggle="tab">美团页设置</a></li>
			<li role="presentation"><a href="#waimaitt-elm" role="tab" data-toggle="tab">饿了么页设置</a></li>	
			<li role="presentation"><a href="#user" role="tab" data-toggle="tab">个人中心页设置</a></li>
			<li role="presentation"><a href="#eatwhat" role="tab" data-toggle="tab">今天吃什么设置</a></li>
			<li role="presentation" style="color:red;"><a href="#tabbar" role="tab" data-toggle="tab">底部导航设置</a></li>
			<li role="presentation"><a href="#waimaitt-poster" role="tab" data-toggle="tab">海报设置</a></li>
			<li role="presentation" style="color:red;"><a href="#credit" role="tab" data-toggle="tab">积分设置</a></li>
			<li role="presentation" style="color:red;"><a href="#signin" role="tab" data-toggle="tab">签到设置</a></li>
			<li role="presentation"><a href="#credit" role="tab" data-toggle="tab" style="display:none;">积分兑换页面设置</a></li>
			<!--<li role="presentation"><a href="#ranking" role="tab" data-toggle="tab">排行榜页设置</a></li>-->
		    <li role="presentation"><a href="#myTab3" role="tab" data-toggle="tab">美团API设置</a></li>
		    <li role="presentation"><a href="#myTab4" role="tab" data-toggle="tab">淘宝API设置</a></li>
			<li role="presentation" style="color:red;"><a href="#mall" role="tab" data-toggle="tab">电商设置</a></li>
			<li role="presentation" style="color:red;"><a href="#movie" role="tab" data-toggle="tab">电影票设置</a></li>
			<li role="presentation" style="color:red;"><a href="#ad" role="tab" data-toggle="tab">小程序广告设置</a></li>
			<li role="presentation"><a href="#job" role="tab" data-toggle="tab">计划任务</a></li>
			<li role="presentation" style="color:red;"><a href="#xcxpath" role="tab" data-toggle="tab">小程序路径</a></li>
			<li role="presentation"><a href="#change" role="tab" data-toggle="tab">联营数据迁移</a></li>
			<li role="presentation" style="background-color:red;color:#FFFFFF;" style="display:none;"><a href="{php echo $this->createWebUrl('onekey')}" onclick="return confirm('确认加载默认首页内容吗？将覆盖你现有首页内容数据，请谨慎操作！');return false;">一键加载默认首页内容</a></li>
			<li role="presentation" style="background-color:blue;color:#FFFFFF;"><a href="#error" role="tab" data-toggle="tab">调试代码</a></li>
			<li role="presentation" style="background-color:orange;color:#FFFFFF;"><a href="#oldcontent" role="tab" data-toggle="tab">旧版内容设置</a></li>
		</ul>
		
		<div class="tab-content">
			<div role="tabpanel" class="tab-pane active panel panel-default main" id="basic">
			<div class="panel-heading">基础信息设置</div>
			<div class="panel-body">	
			    <div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否启用多号联营模式：</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[system_type]" value="0" {if $settings['system_type'] == 0}checked="true"{/if} /> 不启用</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[system_type]" value="1" {if $settings['system_type'] == 1}checked="true"{/if} /> 启用</label>
						<span class="help-block" style="color:red;">*多号联营指可以同时建立多个相同主体的小程序、公众号（服务号）来运营，数据共享互通，前提是需要全部接入微信开放平台。</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">多号联营平台ID</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[system_id]" class="form-control" placeholder="" value="{if $settings['system_id']}{$settings['system_id']}{else}0{/if}" />
					  <span class="help-block" style="color:red;">*填写数字，同一个联营平台请填写相同的数字，没有则填0。</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">平台名称</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[name]" class="form-control" placeholder="" value="{$settings['name']}" /> 
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">起始用户编号</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[uid]" class="form-control" placeholder="" value="{if $settings['uid']}{$settings['uid']}{else}16800000{/if}" />
					  <span class="help-block" style="color:red;">*填写数字，第一个用户的编号会在此编号上+1，默认：16800000，最大值不要超过10位数字</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享标题</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[sharetitle]" class="form-control" placeholder="" value="{$settings['sharetitle']}" /> 
					</div>
				</div>
				
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享图片：</label>
					<div class="col-sm-9 col-xs-12">
						{php echo tpl_form_field_image('data[sharethumb]', $settings['sharethumb'], '', array('extras' => array('text' => 'readonly')))}
						<span class="help-block" style="color:red;">*图片尺寸：420*335</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">客服点我发送图片：</label>
					<div class="col-sm-9 col-xs-12">
						{php echo tpl_form_field_image('data[dianwo]', $settings['dianwo'], '', array('extras' => array('text' => 'readonly')))}
						<span class="help-block" style="color:red;">*图片尺寸：420*335</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否强制登录：</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[login_type]" value="0" {if $settings['login_type'] == 0}checked="true"{/if} /> 不强制登录</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[login_type]" value="1" {if $settings['login_type'] == 1}checked="true"{/if} /> 强制登录</label>
						<span class="help-block" style="color:red;">*不强制登录，则只有个人中心会弹出登录框，其他页面不弹。</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝授权提示文字</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[taobaoauth_text]" class="form-control" placeholder="" value="{if $settings['taobaoauth_text']}{$settings['taobaoauth_text']}{else}您好，授权绑定淘宝账号才能获得返现哦~{/if}" /> 
					  <span class="help-block" style="color:red;">*淘宝授权提示文字，默认为：您好，授权绑定淘宝账号才能获得返现哦~</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝授权提示图片：</label>
					<div class="col-sm-9 col-xs-12">
						{php echo tpl_form_field_image('data[taobaoauth_pic]', $settings['taobaoauth_pic'], '', array('extras' => array('text' => 'readonly')))}
						<span class="help-block" style="color:red;">*淘宝授权提示图片，不上传则使用默认图片</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒文字</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[warn_text]" class="form-control" placeholder="" value="{if $settings['warn_text']}{$settings['warn_text']}{else}点餐提醒{/if}" /> 
					  <span class="help-block" style="color:red;">*点餐提醒工具文字提示，默认为：点餐提醒</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒文字颜色</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[warn_text_color]" class="form-control" placeholder="" value="{if $settings['warn_text_color']}{$settings['warn_text_color']}{else}#FFFFFF{/if}" /> 
					  <span class="help-block" style="color:red;">*点餐提醒工具文字颜色，默认为白色：#FFFFFF</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐剩余次数提醒文字颜色</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[warn_lefttext_color]" class="form-control" placeholder="" value="{if $settings['warn_lefttext_color']}{$settings['warn_lefttext_color']}{else}#FFFFFF{/if}" /> 
					  <span class="help-block" style="color:red;">*点餐剩余次数文字颜色，默认为白色：#FFFFFF</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒图片：</label>
					<div class="col-sm-9 col-xs-12">
						{php echo tpl_form_field_image('data[warn_pic]', $settings['warn_pic'], '', array('extras' => array('text' => 'readonly')))}
						<span class="help-block" style="color:red;">*点餐提醒图片，尺寸：200*200，不上传则不显示点餐提醒</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示积分商品</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_is_credit]" value="1" {if $settings['index_is_credit'] == 1}checked="true"{/if}{if $settings['index_is_credit'] == ''}checked="true"{/if} /> 显示</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_is_credit]" value="0" {if $settings['index_is_credit'] == 0}checked="true"{/if} /> 隐藏</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页显示积分商品个数</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[index_creditnum]" class="form-control" placeholder="" value="{if $settings['index_creditnum']}{$settings['index_creditnum']}{else}6{/if}" /> 
					  <span class="help-block" style="color:red;">*首页显示积分商品个数，默认6个</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示热映电影</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_is_movie]" value="1" {if $settings['index_is_movie'] == 1}checked="true"{/if}{if $settings['index_is_movie'] == ''}checked="true"{/if} /> 显示</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_is_movie]" value="0" {if $settings['index_is_movie'] == 0}checked="true"{/if} /> 隐藏</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示待映电影</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_is_comemovie]" value="1" {if $settings['index_is_comemovie'] == 1}checked="true"{/if}{if $settings['index_is_comemovie'] == ''}checked="true"{/if} /> 显示</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_is_comemovie]" value="0" {if $settings['index_is_comemovie'] == 0}checked="true"{/if} /> 隐藏</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示电商商品</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_is_mall]" value="1" {if $settings['index_is_mall'] == 1}checked="true"{/if}{if $settings['index_is_mall'] == ''}checked="true"{/if} /> 显示</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_is_mall]" value="0" {if $settings['index_is_mall'] == 0}checked="true"{/if} /> 隐藏</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章列表页标题</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[page_title]" class="form-control" placeholder="" value="{if $settings['page_title']}{$settings['page_title']}{else}文章列表{/if}" /> 
					  <span class="help-block" style="color:red;">*文章列表页标题，默认为文章列表</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">腾讯地图key</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[qqmap_key]" class="form-control" placeholder="" value="{if $settings['qqmap_key']}{$settings['qqmap_key']}{else}{/if}" /> 
					  <span class="help-block" style="color:red;">*请去<a href="https://lbs.qq.com/"  target="_blank">https://lbs.qq.com/</a>申请（添加key时启用产品请选择WebServiceAPI），并将https://apis.map.qq.com添加到小程序管理后台 -> 开发 -> 开发管理 -> 开发设置 -> “服务器域名” 中设置request合法域名</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页版面：</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_type]" value="2" {if $settings['index_type'] == 2}checked="true"{/if} /> 外卖1版</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_type]" value="3" {if $settings['index_type'] == 3}checked="true"{/if} /> 外卖2版</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_type]" value="4" {if $settings['index_type'] == 4}checked="true"{/if} /> 外卖3版</label>
					</div>
				</div>
				
			</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="xcx">
			    <div class="panel-heading" style="display:none;">每天弹出订阅消息次数限制</div>
				<div class="panel-body" style="display:none;">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">每天弹出订阅消息次数限制</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_tpl_daynum]" class="form-control" placeholder="" value="{if $settings['warn_tpl_daynum']==0 || $settings['warn_tpl_daynum']>0}{$settings['warn_tpl_daynum']}{else}2{/if}" /> 
						  <span class="help-block" style="color:red;">*用户点击领取红包，每天弹出订阅消息提示的最大次数。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">点餐提醒</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid]" class="form-control" placeholder="" value="{if $settings['warn_yhq_tplid']}{$settings['warn_yhq_tplid']}{else}{/if}" /> 
						  <span class="help-block" style="color:red;">*点餐提醒通知模板消息ID，请去微信小程序后台添加订阅消息，可搜索：优惠券发放通知（服务类目：广告/设计），依次选择：优惠券类型、优惠券面值</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息：第一个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid_1]" class="form-control" placeholder="" value="{if $settings['warn_yhq_tplid_1']}{$settings['warn_yhq_tplid_1']}{else}thing1{/if}" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing1</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息：第一个字段内容</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid_1_text]" class="form-control" placeholder="" value="{if $settings['warn_yhq_tplid_1_text']}{$settings['warn_yhq_tplid_1_text']}{else}领取外卖优惠券{/if}" /> 
						  <span class="help-block" style="color:red;">*根据自己的模板消息设置，字数不超过20个字，默认为：领取外卖优惠券</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息：第二个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid_2]" class="form-control" placeholder="" value="{if $settings['warn_yhq_tplid_2']}{$settings['warn_yhq_tplid_2']}{else}thing2{/if}" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing2</span>
						</div>
					</div>
					<div class="form-group">
					    <label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息：第二个字段内容</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid_2_text]" class="form-control" placeholder="" value="{if $settings['warn_yhq_tplid_2_text']}{$settings['warn_yhq_tplid_2_text']}{else}最高56元{/if}" /> 
						  <span class="help-block" style="color:red;">*根据自己的模板消息设置，字数不超过20个字，默认为：最高56元</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">好友关注</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">好友关注提醒模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_hy_tplid]" class="form-control" placeholder="" value="{if $settings['warn_hy_tplid']}{$settings['warn_hy_tplid']}{else}{/if}" /> 
						  <span class="help-block" style="color:red;">*好友关注提醒模板消息ID，请去微信小程序后台添加订阅消息，可搜索：好友关注提醒（服务类目：视频客服），依次选择：关注人、关注时间</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">好友关注提醒模板消息：第一个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_hy_tplid_1]" class="form-control" placeholder="" value="{if $settings['warn_hy_tplid_1']}{$settings['warn_hy_tplid_1']}{else}thing1{/if}" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing1</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">好友关注提醒模板消息：第二个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_hy_tplid_2]" class="form-control" placeholder="" value="{if $settings['warn_hy_tplid_2']}{$settings['warn_hy_tplid_2']}{else}time2{/if}" /> 
						  <span class="help-block" style="color:red;">*第二个字段显示的是时间，请根据自己选用的模板设置字段名称，默认为：time2</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">新订单通知</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid]" class="form-control" placeholder="" value="{if $settings['warn_order_tplid']}{$settings['warn_order_tplid']}{else}{/if}" /> 
						  <span class="help-block" style="color:red;">*新订单通知模板消息ID，请去微信小程序后台添加订阅消息，可搜索：新订单通知（服务类目：广告/设计），依次选择：订单号、下单时间、订单金额、物品名称</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息：第一个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid_1]" class="form-control" placeholder="" value="{if $settings['warn_order_tplid_1']}{$settings['warn_order_tplid_1']}{else}character_string1{/if}" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：character_string1</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息：第二个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid_2]" class="form-control" placeholder="" value="{if $settings['warn_order_tplid_2']}{$settings['warn_order_tplid_2']}{else}date2{/if}" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：date2</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息：第三个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid_3]" class="form-control" placeholder="" value="{if $settings['warn_order_tplid_3']}{$settings['warn_order_tplid_3']}{else}amount7{/if}" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：amount7</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息：第四个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid_4]" class="form-control" placeholder="" value="{if $settings['warn_order_tplid_4']}{$settings['warn_order_tplid_4']}{else}thing6{/if}" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing6</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">签到提醒</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid]" class="form-control" placeholder="" value="{if $settings['warn_qiandao_tplid']}{$settings['warn_qiandao_tplid']}{else}{/if}" /> 
						  <span class="help-block" style="color:red;">*签到提醒通知模板消息ID，请去微信小程序后台添加订阅消息，可搜索：活动签到提醒（服务类目：广告/设计），依次选择：活动名称、备注</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息：第一个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid_1]" class="form-control" placeholder="" value="{if $settings['warn_qiandao_tplid_1']}{$settings['warn_qiandao_tplid_1']}{else}thing2{/if}" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing2</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息：第一个字段内容</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid_1_text]" class="form-control" placeholder="" value="{if $settings['warn_qiandao_tplid_1_text']}{$settings['warn_qiandao_tplid_1_text']}{else}签到任务{/if}" /> 
						  <span class="help-block" style="color:red;">*根据自己的模板消息设置，字数不超过20个字，默认为：签到任务</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息：第二个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid_2]" class="form-control" placeholder="" value="{if $settings['warn_qiandao_tplid_2']}{$settings['warn_qiandao_tplid_2']}{else}thing4{/if}" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing4</span>
						</div>
					</div>
					<div class="form-group">
					    <label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息：第二个字段内容</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid_2_text]" class="form-control" placeholder="" value="{if $settings['warn_qiandao_tplid_2_text']}{$settings['warn_qiandao_tplid_2_text']}{else}连续签到可获得积分大礼{/if}" /> 
						  <span class="help-block" style="color:red;">*根据自己的模板消息设置，字数不超过20个字，默认为：连续签到可获得积分大礼</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">订单发货通知</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单发货通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[item_tplid]" class="form-control" placeholder="" value="{if $settings['item_tplid']}{$settings['item_tplid']}{else}{/if}" /> 
						  <span class="help-block" style="color:red;">*订单发货通知模板消息ID，请去微信小程序后台添加订阅消息，可搜索：订单发货通知（服务类目：广告/设计），依次选择：商品名称、订单编号、发货时间</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimai">
				<div class="panel-heading">外卖1版首页设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimai_navigationBarBackgroundColor]" class="form-control" placeholder="" value="{if $settings['waimai_navigationBarBackgroundColor']}{$settings['waimai_navigationBarBackgroundColor']}{else}#e25947{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimai_navigationBarTextStyle]" value="#000000" {if $settings['waimai_navigationBarTextStyle'] == '#000000'}checked="true"{/if} /> 黑色</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimai_navigationBarTextStyle]" value="#ffffff" {if $settings['waimai_navigationBarTextStyle'] == '#ffffff'}checked="true"{else}{if $settings['waimai_navigationBarTextStyle'] == ''}checked="true"{/if}{/if} /> 白色</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimai_navigationBarTitleText]" class="form-control" placeholder="" value="{if $settings['waimai_navigationBarTitleText']}{$settings['waimai_navigationBarTitleText']}{else}首页{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：首页</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimai_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimai_bgcolor']}{$settings['waimai_bgcolor']}{else}#e25947{/if}" />
						  <span class="help-block" style="color:red;">*页面背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示新版工具栏：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimai_is_tools]" value="1" {if $settings['waimai_is_tools'] == 1}checked="true"{/if} /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimai_is_tools]" value="0" {if $settings['waimai_is_tools'] == 0}checked="true"{/if} /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏左边图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimai_leftpic]', $settings['waimai_leftpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏中间图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimai_midpic]', $settings['waimai_midpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏右边图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimai_rightpic]', $settings['waimai_rightpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_width]" class="form-control" placeholder="" value="{if $settings['lunbo_width']}{$settings['lunbo_width']}{else}750{/if}" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为750</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_height]" class="form-control" placeholder="" value="{if $settings['lunbo_height']}{$settings['lunbo_height']}{else}255{/if}" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为255</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_borderRadius]" class="form-control" placeholder="" value="{if $settings['lunbo_borderRadius']}{$settings['lunbo_borderRadius']}{else}10{/if}" />
						  <span class="help-block" style="color:red;">*轮播图片圆角尺寸，默认为10</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_spacing]" class="form-control" placeholder="" value="{if $settings['lunbo_spacing']}{$settings['lunbo_spacing']}{else}40{/if}" />
						  <span class="help-block" style="color:red;">*轮播图片间距，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播非激活项目的缩小间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_padding]" class="form-control" placeholder="" value="{if $settings['lunbo_padding']}{$settings['lunbo_padding']}{else}26{/if}" />
						  <span class="help-block" style="color:red;">*轮播非激活项目的缩小间距，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示进度圆点</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_indicatorType]" class="form-control" placeholder="" value="{if $settings['lunbo_indicatorType']}{$settings['lunbo_indicatorType']}{else}dot{/if}" />
						  <span class="help-block" style="color:red;">*是否显示进度圆点：none为不显示，dot为显示，默认值为：dot</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_border_radius]" class="form-control" placeholder="" value="{if $settings['daohang_border_radius']}{$settings['daohang_border_radius']}{else}50%{/if}" />
						  <span class="help-block" style="color:red;">*导航图标圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_width]" class="form-control" placeholder="" value="{if $settings['daohang_width']}{$settings['daohang_width']}{else}150{/if}" />
						  <span class="help-block" style="color:red;">*单个导航宽度，默认为150，填150一排放5个图标，填187.5一排放4个图标，填250一排可以放3个图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_iconwidth]" class="form-control" placeholder="" value="{if $settings['daohang_iconwidth']}{$settings['daohang_iconwidth']}{else}110{/if}" />
						  <span class="help-block" style="color:red;">*单个导航图片宽度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_iconheight]" class="form-control" placeholder="" value="{if $settings['daohang_iconheight']}{$settings['daohang_iconheight']}{else}110{/if}" />
						  <span class="help-block" style="color:red;">*单个导航图片高度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_box_shadow_bgcolor]" class="form-control" placeholder="" value="{if $settings['daohang_box_shadow_bgcolor']}{$settings['daohang_box_shadow_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*导航图标阴影颜色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_box_shadow]" class="form-control" placeholder="" value="{if $settings['daohang_box_shadow']}{$settings['daohang_box_shadow']}{else}20{/if}" />
						  <span class="help-block" style="color:red;">*导航图标阴影大小，默认为20</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_textsize]" class="form-control" placeholder="" value="{if $settings['daohang_textsize']}{$settings['daohang_textsize']}{else}26{/if}" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字眼色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_textcolor]" class="form-control" placeholder="" value="{if $settings['daohang_textcolor']}{$settings['daohang_textcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*导航文字颜色，默认为白色#FFFFFF</span>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaitt">
				<div class="panel-heading">外卖2版首页设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_navigationBarBackgroundColor]" class="form-control" placeholder="" value="{if $settings['waimaitt_navigationBarBackgroundColor']}{$settings['waimaitt_navigationBarBackgroundColor']}{else}#e25947{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_navigationBarTextStyle]" value="#000000" {if $settings['waimaitt_navigationBarTextStyle'] == '#000000'}checked="true"{/if} /> 黑色</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_navigationBarTextStyle]" value="#ffffff" {if $settings['waimaitt_navigationBarTextStyle'] == '#ffffff'}checked="true"{else}{if $settings['waimaitt_navigationBarTextStyle'] == ''}checked="true"{/if}{/if} /> 白色</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_navigationBarTitleText]" class="form-control" placeholder="" value="{if $settings['waimaitt_navigationBarTitleText']}{$settings['waimaitt_navigationBarTitleText']}{else}首页{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：首页</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_bgcolor']}{$settings['waimaitt_bgcolor']}{else}#ededed{/if}" />
						  <span class="help-block" style="color:red;">*页面背景色，默认为#ededed浅灰色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobannerbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbobannerbgcolor']}{$settings['waimaitt_lunbobannerbgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*顶部轮播背景色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播半幅背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbobgcolor']}{$settings['waimaitt_lunbobgcolor']}{else}#e25947{/if}" />
						  <span class="help-block" style="color:red;">*顶部轮播半幅背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景上部高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobgupheight]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbobgupheight']}{$settings['waimaitt_lunbobgupheight']}{else}55%{/if}" />
						  <span class="help-block" style="color:red;">*轮播背景上部高度，默认为55%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景下部高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobgdownheight]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbobgdownheight']}{$settings['waimaitt_lunbobgdownheight']}{else}40{/if}" />
						  <span class="help-block" style="color:red;">*轮播背景下部高度，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景下部圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobgdownradius]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbobgdownradius']}{$settings['waimaitt_lunbobgdownradius']}{else}50%{/if}" />
						  <span class="help-block" style="color:red;">*轮播背景下部圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_width]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbo_width']}{$settings['waimaitt_lunbo_width']}{else}750{/if}" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为750</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_height]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbo_height']}{$settings['waimaitt_lunbo_height']}{else}255{/if}" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为255</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_borderRadius]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbo_borderRadius']}{$settings['waimaitt_lunbo_borderRadius']}{else}10{/if}" />
						  <span class="help-block" style="color:red;">*轮播图片圆角尺寸，默认为10</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_spacing]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbo_spacing']}{$settings['waimaitt_lunbo_spacing']}{else}40{/if}" />
						  <span class="help-block" style="color:red;">*轮播图片间距，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播非激活项目的缩小间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_padding]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbo_padding']}{$settings['waimaitt_lunbo_padding']}{else}26{/if}" />
						  <span class="help-block" style="color:red;">*轮播非激活项目的缩小间距，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示进度圆点</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_indicatorType]" class="form-control" placeholder="" value="{if $settings['waimaitt_lunbo_indicatorType']}{$settings['waimaitt_lunbo_indicatorType']}{else}dot{/if}" />
						  <span class="help-block" style="color:red;">*是否显示进度圆点：none为不显示，dot为显示，默认值为：dot</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_daohang_bgcolor']}{$settings['waimaitt_daohang_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*导航背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_border_radius]" class="form-control" placeholder="" value="{if $settings['waimaitt_daohang_border_radius']}{$settings['waimaitt_daohang_border_radius']}{else}50%{/if}" />
						  <span class="help-block" style="color:red;">*导航图标圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_width]" class="form-control" placeholder="" value="{if $settings['waimaitt_daohang_width']}{$settings['waimaitt_daohang_width']}{else}150{/if}" />
						  <span class="help-block" style="color:red;">*单个导航宽度，默认为150，填150一排放5个图标，填187.5一排放4个图标，填250一排可以放3个图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_iconwidth]" class="form-control" placeholder="" value="{if $settings['waimaitt_daohang_iconwidth']}{$settings['waimaitt_daohang_iconwidth']}{else}110{/if}" />
						  <span class="help-block" style="color:red;">*单个导航图片宽度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_iconheight]" class="form-control" placeholder="" value="{if $settings['waimaitt_daohang_iconheight']}{$settings['waimaitt_daohang_iconheight']}{else}110{/if}" />
						  <span class="help-block" style="color:red;">*单个导航图片高度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_box_shadow_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_daohang_box_shadow_bgcolor']}{$settings['waimaitt_daohang_box_shadow_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*导航图标阴影颜色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_box_shadow]" class="form-control" placeholder="" value="{if $settings['waimaitt_daohang_box_shadow']}{$settings['waimaitt_daohang_box_shadow']}{else}20{/if}" />
						  <span class="help-block" style="color:red;">*导航图标阴影大小，默认为20</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_daohang_textsize']}{$settings['waimaitt_daohang_textsize']}{else}26{/if}" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_daohang_textcolor']}{$settings['waimaitt_daohang_textcolor']}{else}#000000{/if}" />
						  <span class="help-block" style="color:red;">*导航文字颜色，默认为白色#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示工具栏：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[waimaitt_is_oldtools]" value="0" {if $settings['waimaitt_is_oldtools'] == 0}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_is_oldtools]" value="1" {if $settings['waimaitt_is_oldtools'] == 1}checked="true"{/if} /> 显示</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_tools_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_tools_bgcolor']}{$settings['waimaitt_tools_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*工具栏背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏底部圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_tools_radius]" class="form-control" placeholder="" value="{if $settings['waimaitt_tools_radius']}{$settings['waimaitt_tools_radius']}{else}20{/if}" />
						  <span class="help-block" style="color:red;">*工具栏底部圆角尺寸，默认为20（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏添加小程序图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_tools_addpic]', $settings['waimaitt_tools_addpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏添加小程序文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_tools_addtext]" class="form-control" placeholder="" value="{if $settings['waimaitt_tools_addtext']}{$settings['waimaitt_tools_addtext']}{else}添加小程序{/if}" />
						  <span class="help-block" style="color:red;">*工具栏添加小程序文字，默认为：添加小程序</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏分享给好友图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_tools_sharepic]', $settings['waimaitt_tools_sharepic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏分享给好友文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_tools_sharetext]" class="form-control" placeholder="" value="{if $settings['waimaitt_tools_sharetext']}{$settings['waimaitt_tools_sharetext']}{else}分享给好友{/if}" />
						  <span class="help-block" style="color:red;">*工具栏分享给好友文字，默认为：分享给好友</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示新版工具栏：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_is_tools]" value="1" {if $settings['waimaitt_is_tools'] == 1}checked="true"{/if} /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_is_tools]" value="0" {if $settings['waimaitt_is_tools'] == 0}checked="true"{/if} /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏左边图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_leftpic]', $settings['waimaitt_leftpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏中间图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_midpic]', $settings['waimaitt_midpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏右边图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_rightpic]', $settings['waimaitt_rightpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_list_textsize']}{$settings['waimaitt_list_textsize']}{else}30{/if}" />
						  <span class="help-block" style="color:red;">*列表内容标题文字大小，默认为：30（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_list_textcolor']}{$settings['waimaitt_list_textcolor']}{else}#000000{/if}" />
						  <span class="help-block" style="color:red;">*列表内容标题文字颜色，默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jinesize]" class="form-control" placeholder="" value="{if $settings['waimaitt_list_jinesize']}{$settings['waimaitt_list_jinesize']}{else}52{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额文字大小，默认为：52（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jinecolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_list_jinecolor']}{$settings['waimaitt_list_jinecolor']}{else}#ff304d{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_unitsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_list_unitsize']}{$settings['waimaitt_list_unitsize']}{else}28{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_unitcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_list_unitcolor']}{$settings['waimaitt_list_unitcolor']}{else}#ff304d{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jinsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_list_jinsize']}{$settings['waimaitt_list_jinsize']}{else}28{/if}" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jincolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_list_jincolor']}{$settings['waimaitt_list_jincolor']}{else}#aa1e3b{/if}" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字颜色，默认为深红色：#aa1e3b</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”背景色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jinbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_list_jinbgcolor']}{$settings['waimaitt_list_jinbgcolor']}{else}#ffebe3{/if}" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”背景色，默认为浅红色：#ffebe3</span>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaittnew">
				<div class="panel-heading">首页设置（新版本）</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示顶部搜索框</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_index_search]" value="1" {if $settings['waimaittnew_index_search'] == 1}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_index_search]" value="0" {if $settings['waimaittnew_index_search'] == 0}checked="true"{else}{if $settings['waimaittnew_index_search'] == ''}checked="true"{/if}{/if} /> 显示</label>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_navigationBarBackgroundColor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_navigationBarBackgroundColor']}{$settings['waimaittnew_navigationBarBackgroundColor']}{else}#e25947{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_navigationBarTextStyle]" value="#000000" {if $settings['waimaittnew_navigationBarTextStyle'] == '#000000'}checked="true"{/if} /> 黑色</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_navigationBarTextStyle]" value="#ffffff" {if $settings['waimaittnew_navigationBarTextStyle'] == '#ffffff'}checked="true"{else}{if $settings['waimaittnew_navigationBarTextStyle'] == ''}checked="true"{/if}{/if} /> 白色</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_navigationBarTitleText]" class="form-control" placeholder="" value="{if $settings['waimaittnew_navigationBarTitleText']}{$settings['waimaittnew_navigationBarTitleText']}{else}首页{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：首页</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_bgcolor']}{$settings['waimaittnew_bgcolor']}{else}#F6F6F6{/if}" />
						  <span class="help-block" style="color:red;">*页面背景色，默认为#F6F6F6浅灰色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbobannerbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbobannerbgcolor']}{$settings['waimaittnew_lunbobannerbgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*顶部轮播背景色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播半幅背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbobgcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbobgcolor']}{$settings['waimaittnew_lunbobgcolor']}{else}#e25947{/if}" />
						  <span class="help-block" style="color:red;">*顶部轮播半幅背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景上部高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbobgupheight]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbobgupheight']}{$settings['waimaittnew_lunbobgupheight']}{else}55%{/if}" />
						  <span class="help-block" style="color:red;">*轮播背景上部高度，默认为55%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景下部高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbobgdownheight]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbobgdownheight']}{$settings['waimaittnew_lunbobgdownheight']}{else}40{/if}" />
						  <span class="help-block" style="color:red;">*轮播背景下部高度，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景下部圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbobgdownradius]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbobgdownradius']}{$settings['waimaittnew_lunbobgdownradius']}{else}50%{/if}" />
						  <span class="help-block" style="color:red;">*轮播背景下部圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_width]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbo_width']}{$settings['waimaittnew_lunbo_width']}{else}750{/if}" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为750</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_height]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbo_height']}{$settings['waimaittnew_lunbo_height']}{else}255{/if}" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为255</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_borderRadius]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbo_borderRadius']}{$settings['waimaittnew_lunbo_borderRadius']}{else}10{/if}" />
						  <span class="help-block" style="color:red;">*轮播图片圆角尺寸，默认为10</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_spacing]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbo_spacing']}{$settings['waimaittnew_lunbo_spacing']}{else}40{/if}" />
						  <span class="help-block" style="color:red;">*轮播图片间距，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播非激活项目的缩小间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_padding]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbo_padding']}{$settings['waimaittnew_lunbo_padding']}{else}26{/if}" />
						  <span class="help-block" style="color:red;">*轮播非激活项目的缩小间距，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示进度圆点</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_indicatorType]" class="form-control" placeholder="" value="{if $settings['waimaittnew_lunbo_indicatorType']}{$settings['waimaittnew_lunbo_indicatorType']}{else}dot{/if}" />
						  <span class="help-block" style="color:red;">*是否显示进度圆点：none为不显示，dot为显示，默认值为：dot</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航排数</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_num]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_num']}{$settings['waimaittnew_daohang_num']}{else}2{/if}" />
						  <span class="help-block" style="color:red;">*导航排数，填1或者2，默认为2排</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航单排高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_height]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_height']}{$settings['waimaittnew_daohang_height']}{else}140{/if}" />
						  <span class="help-block" style="color:red;">*导航单排高度，默认为140</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_bgcolor']}{$settings['waimaittnew_daohang_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*导航背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_border_radius]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_border_radius']}{$settings['waimaittnew_daohang_border_radius']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*导航图标圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_width]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_width']}{$settings['waimaittnew_daohang_width']}{else}150{/if}" />
						  <span class="help-block" style="color:red;">*单个导航宽度，默认为150，填150一排放5个图标，填187.5一排放4个图标，填250一排可以放3个图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_iconwidth]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_iconwidth']}{$settings['waimaittnew_daohang_iconwidth']}{else}80{/if}" />
						  <span class="help-block" style="color:red;">*单个导航图片宽度，默认为80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_iconheight]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_iconheight']}{$settings['waimaittnew_daohang_iconheight']}{else}80{/if}" />
						  <span class="help-block" style="color:red;">*单个导航图片高度，默认为80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_box_shadow_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_box_shadow_bgcolor']}{$settings['waimaittnew_daohang_box_shadow_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*导航图标阴影颜色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_box_shadow]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_box_shadow']}{$settings['waimaittnew_daohang_box_shadow']}{else}20{/if}" />
						  <span class="help-block" style="color:red;">*导航图标阴影大小，默认为20</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_textsize]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_textsize']}{$settings['waimaittnew_daohang_textsize']}{else}22{/if}" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认为22</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_textcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_daohang_textcolor']}{$settings['waimaittnew_daohang_textcolor']}{else}#000000{/if}" />
						  <span class="help-block" style="color:red;">*导航文字颜色，默认为白色#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏样式：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[waimaittnew_is_oldtools]" value="0" {if $settings['waimaittnew_is_oldtools'] == 0}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_is_oldtools]" value="1" {if $settings['waimaittnew_is_oldtools'] == 1}checked="true"{/if} /> 样式一（三栏）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_is_oldtools]" value="2" {if $settings['waimaittnew_is_oldtools'] == 2}checked="true"{/if} /> 样式二（连一起）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_is_oldtools]" value="3" {if $settings['waimaittnew_is_oldtools'] == 3}checked="true"{/if} /> 样式三（分开）</label>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏样式一左边图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaittnew_leftpic]', $settings['waimaittnew_leftpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏样式一中间吃什么图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaittnew_midpic]', $settings['waimaittnew_midpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏样式一右边图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaittnew_rightpic]', $settings['waimaittnew_rightpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_tools_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_tools_bgcolor']}{$settings['waimaittnew_tools_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*工具栏二三背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三底部圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_tools_radius]" class="form-control" placeholder="" value="{if $settings['waimaittnew_tools_radius']}{$settings['waimaittnew_tools_radius']}{else}20{/if}" />
						  <span class="help-block" style="color:red;">*工具二三栏底部圆角尺寸，默认为20（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三添加小程序图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaittnew_tools_addpic]', $settings['waimaittnew_tools_addpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三添加小程序文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_tools_addtext]" class="form-control" placeholder="" value="{if $settings['waimaittnew_tools_addtext']}{$settings['waimaittnew_tools_addtext']}{else}添加小程序{/if}" />
						  <span class="help-block" style="color:red;">*工具栏二三添加小程序文字，默认为：添加小程序</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三分享给好友图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaittnew_tools_sharepic]', $settings['waimaittnew_tools_sharepic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三分享给好友文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_tools_sharetext]" class="form-control" placeholder="" value="{if $settings['waimaittnew_tools_sharetext']}{$settings['waimaittnew_tools_sharetext']}{else}分享给好友{/if}" />
						  <span class="help-block" style="color:red;">*工具栏二三分享给好友文字，默认为：分享给好友</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_textsize]" class="form-control" placeholder="" value="{if $settings['waimaittnew_list_textsize']}{$settings['waimaittnew_list_textsize']}{else}30{/if}" />
						  <span class="help-block" style="color:red;">*列表内容标题文字大小，默认为：30（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_textcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_list_textcolor']}{$settings['waimaittnew_list_textcolor']}{else}#000000{/if}" />
						  <span class="help-block" style="color:red;">*列表内容标题文字颜色，默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_jinesize]" class="form-control" placeholder="" value="{if $settings['waimaittnew_list_jinesize']}{$settings['waimaittnew_list_jinesize']}{else}52{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额文字大小，默认为：52（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_jinecolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_list_jinecolor']}{$settings['waimaittnew_list_jinecolor']}{else}#ff304d{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_unitsize]" class="form-control" placeholder="" value="{if $settings['waimaittnew_list_unitsize']}{$settings['waimaittnew_list_unitsize']}{else}28{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_unitcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_list_unitcolor']}{$settings['waimaittnew_list_unitcolor']}{else}#ff304d{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_jinsize]" class="form-control" placeholder="" value="{if $settings['waimaittnew_list_jinsize']}{$settings['waimaittnew_list_jinsize']}{else}28{/if}" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_jincolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_list_jincolor']}{$settings['waimaittnew_list_jincolor']}{else}#aa1e3b{/if}" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字颜色，默认为深红色：#aa1e3b</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”背景色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_jinbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaittnew_list_jinbgcolor']}{$settings['waimaittnew_list_jinbgcolor']}{else}#ffebe3{/if}" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”背景色，默认为浅红色：#ffebe3</span>
						</div>
					</div>
					
				</div>
			</div>

			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimainew">
				<div class="panel-heading">外卖3版首页设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_navigationBarBackgroundColor]" class="form-control" placeholder="" value="{if $settings['waimainew_navigationBarBackgroundColor']}{$settings['waimainew_navigationBarBackgroundColor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimainew_navigationBarTextStyle]" value="#000000" {if $settings['waimainew_navigationBarTextStyle'] == '#000000'}checked="true"{/if} /> 黑色</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimainew_navigationBarTextStyle]" value="#ffffff" {if $settings['waimainew_navigationBarTextStyle'] == '#ffffff'}checked="true"{else}{if $settings['waimainew_navigationBarTextStyle'] == ''}checked="true"{/if}{/if} /> 白色</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_navigationBarTitleText]" class="form-control" placeholder="" value="{if $settings['waimainew_navigationBarTitleText']}{$settings['waimainew_navigationBarTitleText']}{else}首页{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：首页</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimainew_bgcolor']}{$settings['waimainew_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*页面背景色，默认为#FFFFFF白色</span>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_width]" class="form-control" placeholder="" value="{if $settings['waimainew_lunbo_width']}{$settings['waimainew_lunbo_width']}{else}750{/if}" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为750</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_height]" class="form-control" placeholder="" value="{if $settings['waimainew_lunbo_height']}{$settings['waimainew_lunbo_height']}{else}255{/if}" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为255</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_borderRadius]" class="form-control" placeholder="" value="{if $settings['waimainew_lunbo_borderRadius']}{$settings['waimainew_lunbo_borderRadius']}{else}10{/if}" />
						  <span class="help-block" style="color:red;">*轮播图片圆角尺寸，默认为10</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_spacing]" class="form-control" placeholder="" value="{if $settings['waimainew_lunbo_spacing']}{$settings['waimainew_lunbo_spacing']}{else}40{/if}" />
						  <span class="help-block" style="color:red;">*轮播图片间距，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播非激活项目的缩小间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_padding]" class="form-control" placeholder="" value="{if $settings['waimainew_lunbo_padding']}{$settings['waimainew_lunbo_padding']}{else}26{/if}" />
						  <span class="help-block" style="color:red;">*轮播非激活项目的缩小间距，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示进度圆点</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_indicatorType]" class="form-control" placeholder="" value="{if $settings['waimainew_lunbo_indicatorType']}{$settings['waimainew_lunbo_indicatorType']}{else}dot{/if}" />
						  <span class="help-block" style="color:red;">*是否显示进度圆点：none为不显示，dot为显示，默认值为：dot</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimainew_daohang_bgcolor']}{$settings['waimainew_daohang_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*导航背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_border_radius]" class="form-control" placeholder="" value="{if $settings['waimainew_daohang_border_radius']}{$settings['waimainew_daohang_border_radius']}{else}50%{/if}" />
						  <span class="help-block" style="color:red;">*导航图标圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_width]" class="form-control" placeholder="" value="{if $settings['waimainew_daohang_width']}{$settings['waimainew_daohang_width']}{else}150{/if}" />
						  <span class="help-block" style="color:red;">*单个导航宽度，默认为150，填150一排放5个图标，填187.5一排放4个图标，填250一排可以放3个图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_iconwidth]" class="form-control" placeholder="" value="{if $settings['waimainew_daohang_iconwidth']}{$settings['waimainew_daohang_iconwidth']}{else}110{/if}" />
						  <span class="help-block" style="color:red;">*单个导航图片宽度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_iconheight]" class="form-control" placeholder="" value="{if $settings['waimainew_daohang_iconheight']}{$settings['waimainew_daohang_iconheight']}{else}110{/if}" />
						  <span class="help-block" style="color:red;">*单个导航图片高度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_box_shadow_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimainew_daohang_box_shadow_bgcolor']}{$settings['waimainew_daohang_box_shadow_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*导航图标阴影颜色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_box_shadow]" class="form-control" placeholder="" value="{if $settings['waimainew_daohang_box_shadow']}{$settings['waimainew_daohang_box_shadow']}{else}20{/if}" />
						  <span class="help-block" style="color:red;">*导航图标阴影大小，默认为20</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_textsize]" class="form-control" placeholder="" value="{if $settings['waimainew_daohang_textsize']}{$settings['waimainew_daohang_textsize']}{else}26{/if}" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_textcolor]" class="form-control" placeholder="" value="{if $settings['waimainew_daohang_textcolor']}{$settings['waimainew_daohang_textcolor']}{else}#000000{/if}" />
						  <span class="help-block" style="color:red;">*导航文字颜色，默认为白色#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示工具栏：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimainew_is_oldtools]" value="1" {if $settings['waimainew_is_oldtools'] == 1}checked="true"{/if} /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimainew_is_oldtools]" value="0" {if $settings['waimainew_is_oldtools'] == 0}checked="true"{/if} /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimainew_tools_bgcolor']}{$settings['waimainew_tools_bgcolor']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*工具栏背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_height]" class="form-control" placeholder="" value="{if $settings['waimainew_tools_height']}{$settings['waimainew_tools_height']}{else}110{/if}" />
						  <span class="help-block" style="color:red;">*工具栏高度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_radius]" class="form-control" placeholder="" value="{if $settings['waimainew_tools_radius']}{$settings['waimainew_tools_radius']}{else}20{/if}" />
						  <span class="help-block" style="color:red;">*工具栏底部圆角尺寸，默认为20（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏添加小程序图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimainew_tools_addpic]', $settings['waimainew_tools_addpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏添加小程序文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_addtext]" class="form-control" placeholder="" value="{if $settings['waimainew_tools_addtext']}{$settings['waimainew_tools_addtext']}{else}添加小程序{/if}" />
						  <span class="help-block" style="color:red;">*工具栏添加小程序文字，默认为：添加小程序</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏分享给好友图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimainew_tools_sharepic]', $settings['waimainew_tools_sharepic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏分享给好友文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_sharetext]" class="form-control" placeholder="" value="{if $settings['waimainew_tools_sharetext']}{$settings['waimainew_tools_sharetext']}{else}分享给好友{/if}" />
						  <span class="help-block" style="color:red;">*工具栏分享给好友文字，默认为：分享给好友</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示新版工具栏：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimainew_is_tools]" value="1" {if $settings['waimainew_is_tools'] == 1}checked="true"{/if} /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimainew_is_tools]" value="0" {if $settings['waimainew_is_tools'] == 0}checked="true"{/if} /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏左边图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimainew_leftpic]', $settings['waimainew_leftpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏中间图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimainew_midpic]', $settings['waimainew_midpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏右边图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimainew_rightpic]', $settings['waimainew_rightpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_textsize]" class="form-control" placeholder="" value="{if $settings['waimainew_list_textsize']}{$settings['waimainew_list_textsize']}{else}30{/if}" />
						  <span class="help-block" style="color:red;">*列表内容标题文字大小，默认为：30（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_textcolor]" class="form-control" placeholder="" value="{if $settings['waimainew_list_textcolor']}{$settings['waimainew_list_textcolor']}{else}#000000{/if}" />
						  <span class="help-block" style="color:red;">*列表内容标题文字颜色，默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jinesize]" class="form-control" placeholder="" value="{if $settings['waimainew_list_jinesize']}{$settings['waimainew_list_jinesize']}{else}52{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额文字大小，默认为：52（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jinecolor]" class="form-control" placeholder="" value="{if $settings['waimainew_list_jinecolor']}{$settings['waimainew_list_jinecolor']}{else}#ff304d{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_unitsize]" class="form-control" placeholder="" value="{if $settings['waimainew_list_unitsize']}{$settings['waimainew_list_unitsize']}{else}28{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_unitcolor]" class="form-control" placeholder="" value="{if $settings['waimainew_list_unitcolor']}{$settings['waimainew_list_unitcolor']}{else}#ff304d{/if}" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jinsize]" class="form-control" placeholder="" value="{if $settings['waimainew_list_jinsize']}{$settings['waimainew_list_jinsize']}{else}28{/if}" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jincolor]" class="form-control" placeholder="" value="{if $settings['waimainew_list_jincolor']}{$settings['waimainew_list_jincolor']}{else}#aa1e3b{/if}" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字颜色，默认为深红色：#aa1e3b</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”背景色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jinbgcolor]" class="form-control" placeholder="" value="{if $settings['waimainew_list_jinbgcolor']}{$settings['waimainew_list_jinbgcolor']}{else}#ffebe3{/if}" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”背景色，默认为浅红色：#ffebe3</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="user">
				<div class="panel-heading">功能开关</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏个人中心收益数据：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[income_type]" value="1" {if $settings['income_type'] == 1}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[income_type]" value="0" {if $settings['income_type'] == 0}checked="true"{/if}{if !$settings['income_type']}checked="true"{/if} /> 不隐藏</label>
							
							<span class="help-block" style="color:red;"></span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏个人中心预估收益数据：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[user_income_type]" value="1" {if $settings['user_income_type'] == 1}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_income_type]" value="0" {if $settings['user_income_type'] == 0}checked="true"{/if}{if !$settings['user_income_type']}checked="true"{/if} /> 不隐藏</label>
							
							<span class="help-block" style="color:red;"></span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏订单中心</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_order_center]" value="0" {if $settings['user_order_center'] == '0'}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_order_center]" value="1" {if $settings['user_order_center'] == '1'}checked="true"{/if}{if !$settings['user_order_center']}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏电影票订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_movie_order]" value="0" {if $settings['user_movie_order'] == '0'}checked="true"{/if}{if !$settings['user_movie_order']}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_movie_order]" value="1" {if $settings['user_movie_order'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏积分商品订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_credit_order]" value="0" {if $settings['user_credit_order'] == '0'}checked="true"{/if}{if !$settings['user_credit_order']}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_credit_order]" value="1" {if $settings['user_credit_order'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏我的订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_my_order]" value="0" {if $settings['user_my_order'] == '0'}checked="true"{/if}{if !$settings['user_my_order']}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_my_order]" value="1" {if $settings['user_my_order'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏粉丝订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_order]" value="0" {if $settings['user_fans_order'] == '0'}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_order]" value="1" {if $settings['user_fans_order'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏订单找回</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_find_order]" value="0" {if $settings['user_find_order'] == '0'}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_find_order]" value="1" {if $settings['user_find_order'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏粉丝中心</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_center]" value="0" {if $settings['user_fans_center'] == '0'}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_center]" value="1" {if $settings['user_fans_center'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏直邀粉丝</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_zhiyao]" value="0" {if $settings['user_fans_zhiyao'] == '0'}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_zhiyao]" value="1" {if $settings['user_fans_zhiyao'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏其他粉丝</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_other]" value="0" {if $settings['user_fans_other'] == '0'}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_other]" value="1" {if $settings['user_fans_other'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏邀请海报</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_poster]" value="0" {if $settings['user_fans_poster'] == '0'}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_poster]" value="1" {if $settings['user_fans_poster'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏排行榜</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_ranking]" value="0" {if $settings['user_fans_ranking'] == '0'}checked="true"{/if} /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_ranking]" value="1" {if $settings['user_fans_ranking'] == '1'}checked="true"{/if} /> 不隐藏</label>
						</div>
					</div>
				</div>
				<div class="panel-heading">个人中心页面样式自定义</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部背景图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_bgpic]', $settings['user_bgpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：750*464，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心“可提现”文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_can_name]" class="form-control" placeholder="" value="{if $settings['cash_can_name']}{$settings['cash_can_name']}{else}可提现{/if}" />
						  <span class="help-block" style="color:red;">*个人中心“可提现”文字自定义，默认为：可提现</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心“立即提现”文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_name]" class="form-control" placeholder="" value="{if $settings['cash_name']}{$settings['cash_name']}{else}立即提现{/if}" />
						  <span class="help-block" style="color:red;">*个人中心“立即提现”文字自定义，默认为：立即提现</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心提现文字说明</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_desc]" class="form-control" placeholder="" value="{$settings['cash_desc']}" />
						  <span class="help-block" style="color:red;">*个人中心提现文字说明</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心今日预估文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_index_jr]" class="form-control" placeholder="" value="{if $settings['user_index_jr']}{$settings['user_index_jr']}{else}今日预估{/if}" />
						  <span class="help-block" style="color:red;">*个人中心今日预估文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心本月预估文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_index_by]" class="form-control" placeholder="" value="{if $settings['user_index_by']}{$settings['user_index_by']}{else}本月预估{/if}" />
						  <span class="help-block" style="color:red;">*个人中心本月预估文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心上月预估文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_index_sy]" class="form-control" placeholder="" value="{if $settings['user_index_sy']}{$settings['user_index_sy']}{else}上月预估{/if}" />
						  <span class="help-block" style="color:red;">*个人中心上月预估文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单中心文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_order_text]" class="form-control" placeholder="" value="{if $settings['user_order_text']}{$settings['user_order_text']}{else}订单中心{/if}" />
						  <span class="help-block" style="color:red;">*订单中心文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票订单文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_movie_order_text]" class="form-control" placeholder="" value="{if $settings['user_movie_order_text']}{$settings['user_movie_order_text']}{else}电影票订单{/if}" />
						  <span class="help-block" style="color:red;">*电影票订单文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票订单图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_movie_order_pic]', $settings['user_movie_order_pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品订单文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_credit_order_text]" class="form-control" placeholder="" value="{if $settings['user_credit_order_text']}{$settings['user_credit_order_text']}{else}商品订单{/if}" />
						  <span class="help-block" style="color:red;">*商品订单文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品订单图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_credit_order_pic]', $settings['user_credit_order_pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的订单文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_my_order_text]" class="form-control" placeholder="" value="{if $settings['user_my_order_text']}{$settings['user_my_order_text']}{else}我的订单{/if}" />
						  <span class="help-block" style="color:red;">*我的订单文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的订单图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_my_order_pic]', $settings['user_my_order_pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">粉丝中心文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_text]" class="form-control" placeholder="" value="{if $settings['user_fans_text']}{$settings['user_fans_text']}{else}粉丝中心{/if}" />
						  <span class="help-block" style="color:red;">*粉丝中心文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">粉丝订单文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_order_text]" class="form-control" placeholder="" value="{if $settings['user_fans_order_text']}{$settings['user_fans_order_text']}{else}粉丝订单{/if}" />
						  <span class="help-block" style="color:red;">*粉丝订单文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">粉丝订单图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_fans_order_pic]', $settings['user_fans_order_pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单找回文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_find_order_text]" class="form-control" placeholder="" value="{if $settings['user_find_order_text']}{$settings['user_find_order_text']}{else}订单找回{/if}" />
						  <span class="help-block" style="color:red;">*订单找回文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单找回图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_find_order_pic]', $settings['user_find_order_pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直邀粉丝文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_zhiyao_text]" class="form-control" placeholder="" value="{if $settings['user_fans_zhiyao_text']}{$settings['user_fans_zhiyao_text']}{else}直邀粉丝{/if}" />
						  <span class="help-block" style="color:red;">*直邀粉丝文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直邀粉丝图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_fans_zhiyao_pic]', $settings['user_fans_zhiyao_pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">其他粉丝文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_other_text]" class="form-control" placeholder="" value="{if $settings['user_fans_other_text']}{$settings['user_fans_other_text']}{else}其他粉丝{/if}" />
						  <span class="help-block" style="color:red;">*其他粉丝文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">其他粉丝图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_fans_other_pic]', $settings['user_fans_other_pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">邀请海报文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_poster_text]" class="form-control" placeholder="" value="{if $settings['user_fans_poster_text']}{$settings['user_fans_poster_text']}{else}邀请海报{/if}" />
						  <span class="help-block" style="color:red;">*邀请海报文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">邀请海报图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_fans_poster_pic]', $settings['user_fans_poster_pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">排行榜文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_ranking_text]" class="form-control" placeholder="" value="{if $settings['user_fans_ranking_text']}{$settings['user_fans_ranking_text']}{else}排行榜{/if}" />
						  <span class="help-block" style="color:red;">*排行榜文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">排行榜图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[user_fans_ranking_pic]', $settings['user_fans_ranking_pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">常用工具文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_tools_text]" class="form-control" placeholder="" value="{if $settings['user_tools_text']}{$settings['user_tools_text']}{else}常用工具{/if}" />
						  <span class="help-block" style="color:red;">*常用工具文字自定义</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">其他页面样式自定义</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单页面预估佣金文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_order_ygyj]" class="form-control" placeholder="" value="{if $settings['user_order_ygyj']}{$settings['user_order_ygyj']}{else}预估佣金：￥{/if}" />
						  <span class="help-block" style="color:red;">*订单页面预估佣金文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">账户中心账户余额文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_zhzx_zhye]" class="form-control" placeholder="" value="{if $settings['cash_zhzx_zhye']}{$settings['cash_zhzx_zhye']}{else}当前余额 (￥){/if}" />
						  <span class="help-block" style="color:red;">*账户中心当前余额 (￥)自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">账户中心提现文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_zhzx_tixian]" class="form-control" placeholder="" value="{if $settings['cash_zhzx_tixian']}{$settings['cash_zhzx_tixian']}{else}提现{/if}" />
						  <span class="help-block" style="color:red;">*账户中心提现文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_title]" class="form-control" placeholder="" value="{if $settings['cash_tixian_title']}{$settings['cash_tixian_title']}{else}提现管理{/if}" />
						  <span class="help-block" style="color:red;">*提现管理页面标题自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面提现金额文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_jine]" class="form-control" placeholder="" value="{if $settings['cash_tixian_jine']}{$settings['cash_tixian_jine']}{else}提现金额{/if}" />
						  <span class="help-block" style="color:red;">*提现管理页面提现金额文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面请填写要提现的金额文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_qtxjine]" class="form-control" placeholder="" value="{if $settings['cash_tixian_qtxjine']}{$settings['cash_tixian_qtxjine']}{else}请填写要提现的金额{/if}" />
						  <span class="help-block" style="color:red;">*提现管理页面请填写要提现的金额文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面支付宝账号文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_zfb]" class="form-control" placeholder="" value="{if $settings['cash_tixian_zfb']}{$settings['cash_tixian_zfb']}{else}支付宝账号{/if}" />
						  <span class="help-block" style="color:red;">*提现管理页面支付宝账号文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面立即提现文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_ljtx]" class="form-control" placeholder="" value="{if $settings['cash_tixian_ljtx']}{$settings['cash_tixian_ljtx']}{else}立即提现{/if}" />
						  <span class="help-block" style="color:red;">*提现管理页面立即提现文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面提现明细文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_txmx]" class="form-control" placeholder="" value="{if $settings['cash_tixian_txmx']}{$settings['cash_tixian_txmx']}{else}提现明细{/if}" />
						  <span class="help-block" style="color:red;">*提现管理页面提现明细文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面请填写金额文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_qtxtxje]" class="form-control" placeholder="" value="{if $settings['cash_tixian_qtxtxje']}{$settings['cash_tixian_qtxtxje']}{else}请填写金额{/if}" />
						  <span class="help-block" style="color:red;">*提现管理页面请填写金额文字自定义</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="eatwhat">
				<div class="panel-heading">今天吃什么设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_navigationBarBackgroundColor]" class="form-control" placeholder="" value="{if $settings['eatwhat_navigationBarBackgroundColor']}{$settings['eatwhat_navigationBarBackgroundColor']}{else}#f5f5f5{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#f5f5f5白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[eatwhat_navigationBarTextStyle]" value="#000000" {if $settings['eatwhat_navigationBarTextStyle'] == '#000000'}checked="true"{/if} /> 黑色</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[eatwhat_navigationBarTextStyle]" value="#ffffff" {if $settings['eatwhat_navigationBarTextStyle'] == '#ffffff'}checked="true"{else}{if $settings['eatwhat_navigationBarTextStyle'] == ''}checked="true"{/if}{/if} /> 白色</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_navigationBarTitleText]" class="form-control" placeholder="" value="{if $settings['eatwhat_navigationBarTitleText']}{$settings['eatwhat_navigationBarTitleText']}{else}今天吃什么{/if}" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：今天吃什么</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">背景图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[eatwhat_bgpic]', $settings['eatwhat_bgpic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*背景图片：750*1334，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">默认菜单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_foodlist]" class="form-control" placeholder="" value="{if $settings['eatwhat_foodlist']}{$settings['eatwhat_foodlist']}{else}火锅,粤菜,沙县小吃,蒸菜,酸辣粉,涮羊肉,油泼面,干拌面,湘菜,东北菜{/if}" />
						  <span class="help-block" style="color:red;">*默认菜单，菜单之间使用英文逗号,分隔</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我今天吃什么？：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_my]" class="form-control" placeholder="" value="{if $settings['eatwhat_my']}{$settings['eatwhat_my']}{else}我今天吃什么？{/if}" />
						  <span class="help-block" style="color:red;">*我今天吃什么？修改为自定义文字</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">准备开吃：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_go]" class="form-control" placeholder="" value="{if $settings['eatwhat_go']}{$settings['eatwhat_go']}{else}准备开吃{/if}" />
						  <span class="help-block" style="color:red;">*准备开吃修改为自定义文字</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_sharetitle]" class="form-control" placeholder="" value="{$settings['eatwhat_sharetitle']}" /> 
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[eatwhat_sharethumb]', $settings['eatwhat_sharethumb'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：420*335</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaitt-meituan">
				
				<div class="panel-heading">页面设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_meituanwm_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_bgcolor']}{$settings['waimaitt_meituanwm_bgcolor']}{else}#ffba00{/if}" />
						  <span class="help-block" style="color:red;">*外卖-页面背景色，默认为#ffba00橙黄色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituanwm_toppic]', $settings['waimaitt_meituanwm_toppic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片宽度：750，高度自定，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituanwm_step1pic]', $settings['waimaitt_meituanwm_step1pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step1text]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_step1text']}{$settings['waimaitt_meituanwm_step1text']}{else}先领券{/if}" />
							<span class="help-block" style="color:red;">*默认为：先领券</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step1textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_step1textcolor']}{$settings['waimaitt_meituanwm_step1textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step1textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_step1textsize']}{$settings['waimaitt_meituanwm_step1textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituanwm_step2pic]', $settings['waimaitt_meituanwm_step2pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step2text]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_step2text']}{$settings['waimaitt_meituanwm_step2text']}{else}再下单{/if}" />
							<span class="help-block" style="color:red;">*默认为：再下单</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step2textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_step2textcolor']}{$settings['waimaitt_meituanwm_step2textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step2textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_step2textsize']}{$settings['waimaitt_meituanwm_step2textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituanwm_step3pic]', $settings['waimaitt_meituanwm_step3pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step3text]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_step3text']}{$settings['waimaitt_meituanwm_step3text']}{else}拿返利{/if}" />
							<span class="help-block" style="color:red;">*默认为：拿返利</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step3textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_step3textcolor']}{$settings['waimaitt_meituanwm_step3textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step3textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_step3textsize']}{$settings['waimaitt_meituanwm_step3textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤连接图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituanwm_step4pic]', $settings['waimaitt_meituanwm_step4pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：38*16，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtext]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingtext']}{$settings['waimaitt_meituanwm_lingtext']}{else}领红包点外卖{/if}" />
							<span class="help-block" style="color:red;">*默认为：领红包点外卖</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingtextcolor']}{$settings['waimaitt_meituanwm_lingtextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingtextbgcolor']}{$settings['waimaitt_meituanwm_lingtextbgcolor']}{else}#ff6100{/if}" />
							<span class="help-block" style="color:red;">*默认为红色：#ff6100</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingtextsize']}{$settings['waimaitt_meituanwm_lingtextsize']}{else}38{/if}" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingtextlh']}{$settings['waimaitt_meituanwm_lingtextlh']}{else}80{/if}" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”按钮圆角：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtextradius]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingtextradius']}{$settings['waimaitt_meituanwm_lingtextradius']}{else}50rpx{/if}" />
							<span class="help-block" style="color:red;">*默认为：50rpx</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”上方红包轮播文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_speakertextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_speakertextcolor']}{$settings['waimaitt_meituanwm_speakertextcolor']}{else}#E76B61{/if}" />
							<span class="help-block" style="color:red;">*默认为：#E76B61</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”上方红包轮播红包随机金额：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_speakerhongbao]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_speakerhongbao']}{$settings['waimaitt_meituanwm_speakerhongbao']}{else}2,5,10,15{/if}" />
							<span class="help-block" style="color:red;">*默认为：2,5,10,15，每个金额之间使用英文逗号隔开</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮跳转小程序appid：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnextappid]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingnextappid']}{$settings['waimaitt_meituanwm_lingnextappid']}{else}{/if}" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮跳转小程序path：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnextpath]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingnextpath']}{$settings['waimaitt_meituanwm_lingnextpath']}{else}{/if}" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点商超”下方按钮跳转美团分销联盟活动id：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnextactid]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingnextactid']}{$settings['waimaitt_meituanwm_lingnextactid']}{else}{/if}" />
							<span class="help-block" style="color:red;">*跳转美团分销联盟活动id，填写即可分销</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnexttext]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingnexttext']}{$settings['waimaitt_meituanwm_lingnexttext']}{else}领加餐红包{/if}" />
							<span class="help-block" style="color:red;">*默认为：领加餐红包</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnexttextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingnexttextcolor']}{$settings['waimaitt_meituanwm_lingnexttextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnexttextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingnexttextbgcolor']}{$settings['waimaitt_meituanwm_lingnexttextbgcolor']}{else}#1280d9{/if}" />
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnexttextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingnexttextsize']}{$settings['waimaitt_meituanwm_lingnexttextsize']}{else}38{/if}" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnexttextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_lingnexttextlh']}{$settings['waimaitt_meituanwm_lingnexttextlh']}{else}80{/if}" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_sharetext]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_sharetext']}{$settings['waimaitt_meituanwm_sharetext']}{else}分享赚钱{/if}" />
							<span class="help-block" style="color:red;">*默认为：分享赚钱</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_sharetextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_sharetextcolor']}{$settings['waimaitt_meituanwm_sharetextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_sharetextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_sharetextbgcolor']}{$settings['waimaitt_meituanwm_sharetextbgcolor']}{else}#ff4301{/if}" />
							<span class="help-block" style="color:red;">*默认为红色：#ff4301</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_sharetextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_sharetextsize']}{$settings['waimaitt_meituanwm_sharetextsize']}{else}36{/if}" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_sharetextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_sharetextlh']}{$settings['waimaitt_meituanwm_sharetextlh']}{else}76{/if}" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantext]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_tuantext']}{$settings['waimaitt_meituanwm_tuantext']}{else}复制文案{/if}" />
							<span class="help-block" style="color:red;">*默认为：复制文案</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”复制的内容：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantext_c]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_tuantext_c']}{$settings['waimaitt_meituanwm_tuantext_c']}{else}餐前福利！外卖红包天天领，最高可得56元！{/if}" />
							<span class="help-block" style="color:red;">*默认为：餐前福利！外卖红包天天领，最高可得56元！</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_tuantextcolor']}{$settings['waimaitt_meituanwm_tuantextcolor']}{else}#44a718{/if}" />
							<span class="help-block" style="color:red;">*默认为绿色：#44a718</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_tuantextbgcolor']}{$settings['waimaitt_meituanwm_tuantextbgcolor']}{else}#ffffff{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#ffffff</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_tuantextsize']}{$settings['waimaitt_meituanwm_tuantextsize']}{else}36{/if}" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_tuantextlh']}{$settings['waimaitt_meituanwm_tuantextlh']}{else}76{/if}" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否显示注意事项</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_isnotice]" value="1" {if $settings['waimaitt_meituanwm_isnotice'] == 1}checked="true"{/if} /> 不显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_isnotice]" value="0" {if $settings['waimaitt_meituanwm_isnotice'] == 0}checked="true"{else}{if $settings['waimaitt_meituanwm_isnotice'] == ''}checked="true"{/if}{/if} /> 显示</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“注意事项”背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_noticebgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_noticebgcolor']}{$settings['waimaitt_meituanwm_noticebgcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“注意事项”：</label>
						<div class="col-sm-9">
							{php echo tpl_ueditor('data[waimaitt_meituanwm_notice]',$settings['waimaitt_meituanwm_notice'],['height' => 500]);}
						</div>
					</div>




					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_meituansc_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_bgcolor']}{$settings['waimaitt_meituansc_bgcolor']}{else}#00c425{/if}" />
						  <span class="help-block" style="color:red;">*商超-页面背景色，默认为#00c425绿色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituansc_toppic]', $settings['waimaitt_meituansc_toppic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片宽度：750，高度自定，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituansc_step1pic]', $settings['waimaitt_meituansc_step1pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step1text]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_step1text']}{$settings['waimaitt_meituansc_step1text']}{else}先领券{/if}" />
							<span class="help-block" style="color:red;">*默认为：先领券</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step1textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_step1textcolor']}{$settings['waimaitt_meituansc_step1textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step1textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_step1textsize']}{$settings['waimaitt_meituansc_step1textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituansc_step2pic]', $settings['waimaitt_meituansc_step2pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step2text]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_step2text']}{$settings['waimaitt_meituansc_step2text']}{else}再下单{/if}" />
							<span class="help-block" style="color:red;">*默认为：再下单</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step2textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_step2textcolor']}{$settings['waimaitt_meituansc_step2textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step2textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_step2textsize']}{$settings['waimaitt_meituansc_step2textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituansc_step3pic]', $settings['waimaitt_meituansc_step3pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step3text]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_step3text']}{$settings['waimaitt_meituansc_step3text']}{else}拿返利{/if}" />
							<span class="help-block" style="color:red;">*默认为：拿返利</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step3textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_step3textcolor']}{$settings['waimaitt_meituansc_step3textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step3textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_step3textsize']}{$settings['waimaitt_meituansc_step3textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤连接图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituansc_step4pic]', $settings['waimaitt_meituansc_step4pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：38*16，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtext]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingtext']}{$settings['waimaitt_meituansc_lingtext']}{else}领红包点外卖{/if}" />
							<span class="help-block" style="color:red;">*默认为：领红包点外卖</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingtextcolor']}{$settings['waimaitt_meituansc_lingtextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingtextbgcolor']}{$settings['waimaitt_meituansc_lingtextbgcolor']}{else}#32b766{/if}" />
							<span class="help-block" style="color:red;">*默认为绿色：#32b766</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingtextsize']}{$settings['waimaitt_meituansc_lingtextsize']}{else}38{/if}" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingtextlh']}{$settings['waimaitt_meituansc_lingtextlh']}{else}80{/if}" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”按钮圆角：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtextradius]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingtextradius']}{$settings['waimaitt_meituansc_lingtextradius']}{else}50rpx{/if}" />
							<span class="help-block" style="color:red;">*默认为：50rpx</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转小程序appid：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnextappid]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingnextappid']}{$settings['waimaitt_meituansc_lingnextappid']}{else}{/if}" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转小程序path：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnextpath]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingnextpath']}{$settings['waimaitt_meituansc_lingnextpath']}{else}{/if}" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转美团分销联盟活动id：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnextactid]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingnextactid']}{$settings['waimaitt_meituansc_lingnextactid']}{else}{/if}" />
							<span class="help-block" style="color:red;">*跳转美团分销联盟活动id，填写即可分销</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnexttext]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingnexttext']}{$settings['waimaitt_meituansc_lingnexttext']}{else}领加餐红包{/if}" />
							<span class="help-block" style="color:red;">*默认为：领加餐红包</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnexttextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingnexttextcolor']}{$settings['waimaitt_meituansc_lingnexttextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnexttextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingnexttextbgcolor']}{$settings['waimaitt_meituansc_lingnexttextbgcolor']}{else}#1280d9{/if}" />
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnexttextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingnexttextsize']}{$settings['waimaitt_meituansc_lingnexttextsize']}{else}38{/if}" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnexttextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_lingnexttextlh']}{$settings['waimaitt_meituansc_lingnexttextlh']}{else}80{/if}" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_sharetext]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_sharetext']}{$settings['waimaitt_meituansc_sharetext']}{else}分享赚钱{/if}" />
							<span class="help-block" style="color:red;">*默认为：分享赚钱</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_sharetextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_sharetextcolor']}{$settings['waimaitt_meituansc_sharetextcolor']}{else}#9c7b44{/if}" />
							<span class="help-block" style="color:red;">*默认为金色：#9c7b44</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_sharetextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_sharetextbgcolor']}{$settings['waimaitt_meituansc_sharetextbgcolor']}{else}linear-gradient(to top,#f7c277,#fdf4ca){/if}" />
							<span class="help-block" style="color:red;">*默认为渐变色：linear-gradient(to top,#f7c277,#fdf4ca)</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_sharetextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_sharetextsize']}{$settings['waimaitt_meituansc_sharetextsize']}{else}36{/if}" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_sharetextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_sharetextlh']}{$settings['waimaitt_meituansc_sharetextlh']}{else}76{/if}" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantext]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_tuantext']}{$settings['waimaitt_meituansc_tuantext']}{else}复制文案{/if}" />
							<span class="help-block" style="color:red;">*默认为：复制文案</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”复制的内容：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantext_c]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_tuantext_c']}{$settings['waimaitt_meituansc_tuantext_c']}{else}红包天天领，最高可得36元！{/if}" />
							<span class="help-block" style="color:red;">*默认为：红包天天领，最高可得36元！</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_tuantextcolor']}{$settings['waimaitt_meituansc_tuantextcolor']}{else}#44a718{/if}" />
							<span class="help-block" style="color:red;">*默认为绿色：#44a718</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_tuantextbgcolor']}{$settings['waimaitt_meituansc_tuantextbgcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_tuantextsize']}{$settings['waimaitt_meituansc_tuantextsize']}{else}36{/if}" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_tuantextlh']}{$settings['waimaitt_meituansc_tuantextlh']}{else}76{/if}" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-是否显示注意事项</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituansc_isnotice]" value="1" {if $settings['waimaitt_meituansc_isnotice'] == 1}checked="true"{/if} /> 不显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituansc_isnotice]" value="0" {if $settings['waimaitt_meituansc_isnotice'] == 0}checked="true"{else}{if $settings['waimaitt_meituansc_isnotice'] == ''}checked="true"{/if}{/if} /> 显示</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“注意事项”背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_noticebgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_noticebgcolor']}{$settings['waimaitt_meituansc_noticebgcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“注意事项”：</label>
						<div class="col-sm-9">
							{php echo tpl_ueditor('data[waimaitt_meituansc_notice]',$settings['waimaitt_meituansc_notice'],['height' => 500]);}
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaitt-elm">
				
				<div class="panel-heading">页面设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_elmwm_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_bgcolor']}{$settings['waimaitt_elmwm_bgcolor']}{else}#027dd8{/if}" />
						  <span class="help-block" style="color:red;">*外卖-页面背景色，默认为#027dd8深蓝色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmwm_toppic]', $settings['waimaitt_elmwm_toppic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片宽度：750，高度自定，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmwm_step1pic]', $settings['waimaitt_elmwm_step1pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step1text]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_step1text']}{$settings['waimaitt_elmwm_step1text']}{else}先领券{/if}" />
							<span class="help-block" style="color:red;">*默认为：先领券</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step1textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_step1textcolor']}{$settings['waimaitt_elmwm_step1textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step1textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_step1textsize']}{$settings['waimaitt_elmwm_step1textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmwm_step2pic]', $settings['waimaitt_elmwm_step2pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step2text]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_step2text']}{$settings['waimaitt_elmwm_step2text']}{else}再下单{/if}" />
							<span class="help-block" style="color:red;">*默认为：再下单</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step2textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_step2textcolor']}{$settings['waimaitt_elmwm_step2textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step2textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_step2textsize']}{$settings['waimaitt_elmwm_step2textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmwm_step3pic]', $settings['waimaitt_elmwm_step3pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step3text]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_step3text']}{$settings['waimaitt_elmwm_step3text']}{else}拿返利{/if}" />
							<span class="help-block" style="color:red;">*默认为：拿返利</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step3textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_step3textcolor']}{$settings['waimaitt_elmwm_step3textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step3textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_step3textsize']}{$settings['waimaitt_elmwm_step3textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤连接图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmwm_step4pic]', $settings['waimaitt_elmwm_step4pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：38*16，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtext]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingtext']}{$settings['waimaitt_elmwm_lingtext']}{else}领红包点外卖{/if}" />
							<span class="help-block" style="color:red;">*默认为：领红包点外卖</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingtextcolor']}{$settings['waimaitt_elmwm_lingtextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingtextbgcolor']}{$settings['waimaitt_elmwm_lingtextbgcolor']}{else}#1280d9{/if}" />
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingtextsize']}{$settings['waimaitt_elmwm_lingtextsize']}{else}38{/if}" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingtextlh']}{$settings['waimaitt_elmwm_lingtextlh']}{else}80{/if}" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”按钮圆角：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtextradius]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingtextradius']}{$settings['waimaitt_elmwm_lingtextradius']}{else}50rpx{/if}" />
							<span class="help-block" style="color:red;">*默认为：50rpx</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”上方红包轮播文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_speakertextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_speakertextcolor']}{$settings['waimaitt_elmwm_speakertextcolor']}{else}#E76B61{/if}" />
							<span class="help-block" style="color:red;">*默认为：#E76B61</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”上方红包轮播红包随机金额：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_speakerhongbao]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_speakerhongbao']}{$settings['waimaitt_elmwm_speakerhongbao']}{else}2,5,10,15{/if}" />
							<span class="help-block" style="color:red;">*默认为：2,5,10,15，每个金额之间使用英文逗号隔开</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮跳转小程序appid：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnextappid]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingnextappid']}{$settings['waimaitt_elmwm_lingnextappid']}{else}{/if}" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮跳转小程序path：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnextpath]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingnextpath']}{$settings['waimaitt_elmwm_lingnextpath']}{else}{/if}" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮官方活动id：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnextactid]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingnextactid']}{$settings['waimaitt_elmwm_lingnextactid']}{else}{/if}" />
							<span class="help-block" style="color:red;">*填写官方活动id，填写即支持分销</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnexttext]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingnexttext']}{$settings['waimaitt_elmwm_lingnexttext']}{else}领加餐红包{/if}" />
							<span class="help-block" style="color:red;">*默认为：领加餐红包</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnexttextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingnexttextcolor']}{$settings['waimaitt_elmwm_lingnexttextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnexttextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingnexttextbgcolor']}{$settings['waimaitt_elmwm_lingnexttextbgcolor']}{else}#1280d9{/if}" />
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnexttextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingnexttextsize']}{$settings['waimaitt_elmwm_lingnexttextsize']}{else}38{/if}" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnexttextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_lingnexttextlh']}{$settings['waimaitt_elmwm_lingnexttextlh']}{else}80{/if}" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_sharetext]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_sharetext']}{$settings['waimaitt_elmwm_sharetext']}{else}分享赚钱{/if}" />
							<span class="help-block" style="color:red;">*默认为：分享赚钱</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_sharetextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_sharetextcolor']}{$settings['waimaitt_elmwm_sharetextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_sharetextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_sharetextbgcolor']}{$settings['waimaitt_elmwm_sharetextbgcolor']}{else}#105195{/if}" />
							<span class="help-block" style="color:red;">*默认为深蓝色：#105195</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_sharetextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_sharetextsize']}{$settings['waimaitt_elmwm_sharetextsize']}{else}36{/if}" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_sharetextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_sharetextlh']}{$settings['waimaitt_elmwm_sharetextlh']}{else}76{/if}" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantext]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_tuantext']}{$settings['waimaitt_elmwm_tuantext']}{else}复制文案{/if}" />
							<span class="help-block" style="color:red;">*默认为：复制文案</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”复制的内容：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantext_c]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_tuantext_c']}{$settings['waimaitt_elmwm_tuantext_c']}{else}餐前福利！外卖红包天天领，最高可得66元！{/if}" />
							<span class="help-block" style="color:red;">*默认为：餐前福利！外卖红包天天领，最高可得66元！</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_tuantextcolor']}{$settings['waimaitt_elmwm_tuantextcolor']}{else}#1b4e63{/if}" />
							<span class="help-block" style="color:red;">*默认为深蓝色：#1b4e63</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_tuantextbgcolor']}{$settings['waimaitt_elmwm_tuantextbgcolor']}{else}#ffffff{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#ffffff</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_tuantextsize']}{$settings['waimaitt_elmwm_tuantextsize']}{else}36{/if}" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_tuantextlh']}{$settings['waimaitt_elmwm_tuantextlh']}{else}76{/if}" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否显示注意事项</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_isnotice]" value="1" {if $settings['waimaitt_elmwm_isnotice'] == 1}checked="true"{/if} /> 不显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_isnotice]" value="0" {if $settings['waimaitt_elmwm_isnotice'] == 0}checked="true"{else}{if $settings['waimaitt_elmwm_isnotice'] == ''}checked="true"{/if}{/if} /> 显示</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“注意事项”背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_noticebgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_noticebgcolor']}{$settings['waimaitt_elmwm_noticebgcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“注意事项”：</label>
						<div class="col-sm-9">
							{php echo tpl_ueditor('data[waimaitt_elmwm_notice]',$settings['waimaitt_elmwm_notice'],['height' => 500]);}
						</div>
					</div>




					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_elmsc_bgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_bgcolor']}{$settings['waimaitt_elmsc_bgcolor']}{else}#4ddba9{/if}" />
						  <span class="help-block" style="color:red;">*商超-页面背景色，默认为#4ddba9绿色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmsc_toppic]', $settings['waimaitt_elmsc_toppic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片宽度：750，高度自定，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmsc_step1pic]', $settings['waimaitt_elmsc_step1pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step1text]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_step1text']}{$settings['waimaitt_elmsc_step1text']}{else}先领券{/if}" />
							<span class="help-block" style="color:red;">*默认为：先领券</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step1textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_step1textcolor']}{$settings['waimaitt_elmsc_step1textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step1textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_step1textsize']}{$settings['waimaitt_elmsc_step1textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmsc_step2pic]', $settings['waimaitt_elmsc_step2pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step2text]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_step2text']}{$settings['waimaitt_elmsc_step2text']}{else}再下单{/if}" />
							<span class="help-block" style="color:red;">*默认为：再下单</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step2textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_step2textcolor']}{$settings['waimaitt_elmsc_step2textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step2textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_step2textsize']}{$settings['waimaitt_elmsc_step2textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmsc_step3pic]', $settings['waimaitt_elmsc_step3pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step3text]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_step3text']}{$settings['waimaitt_elmsc_step3text']}{else}拿返利{/if}" />
							<span class="help-block" style="color:red;">*默认为：拿返利</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step3textcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_step3textcolor']}{$settings['waimaitt_elmsc_step3textcolor']}{else}#000000{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step3textsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_step3textsize']}{$settings['waimaitt_elmsc_step3textsize']}{else}24{/if}" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤连接图标：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmsc_step4pic]', $settings['waimaitt_elmsc_step4pic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图标尺寸：38*16，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtext]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingtext']}{$settings['waimaitt_elmsc_lingtext']}{else}领红包点外卖{/if}" />
							<span class="help-block" style="color:red;">*默认为：领红包点外卖</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingtextcolor']}{$settings['waimaitt_elmsc_lingtextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingtextbgcolor']}{$settings['waimaitt_elmsc_lingtextbgcolor']}{else}#10c495{/if}" />
							<span class="help-block" style="color:red;">*默认为绿色：#10c495</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingtextsize']}{$settings['waimaitt_elmsc_lingtextsize']}{else}38{/if}" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingtextlh']}{$settings['waimaitt_elmsc_lingtextlh']}{else}80{/if}" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”按钮圆角：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtextradius]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingtextradius']}{$settings['waimaitt_elmsc_lingtextradius']}{else}50rpx{/if}" />
							<span class="help-block" style="color:red;">*默认为：50rpx</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转小程序appid：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnextappid]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingnextappid']}{$settings['waimaitt_elmsc_lingnextappid']}{else}{/if}" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转小程序path：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnextpath]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingnextpath']}{$settings['waimaitt_elmsc_lingnextpath']}{else}{/if}" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮官方活动id：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnextactid]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingnextactid']}{$settings['waimaitt_elmsc_lingnextactid']}{else}{/if}" />
							<span class="help-block" style="color:red;">*填写官方活动id，填写即支持分销</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnexttext]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingnexttext']}{$settings['waimaitt_elmsc_lingnexttext']}{else}领加餐红包{/if}" />
							<span class="help-block" style="color:red;">*默认为：领加餐红包</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnexttextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingnexttextcolor']}{$settings['waimaitt_elmsc_lingnexttextcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnexttextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingnexttextbgcolor']}{$settings['waimaitt_elmsc_lingnexttextbgcolor']}{else}#1280d9{/if}" />
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnexttextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingnexttextsize']}{$settings['waimaitt_elmsc_lingnexttextsize']}{else}38{/if}" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnexttextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_lingnexttextlh']}{$settings['waimaitt_elmsc_lingnexttextlh']}{else}80{/if}" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_sharetext]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_sharetext']}{$settings['waimaitt_elmsc_sharetext']}{else}分享赚钱{/if}" />
							<span class="help-block" style="color:red;">*默认为：分享赚钱</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_sharetextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_sharetextcolor']}{$settings['waimaitt_elmsc_sharetextcolor']}{else}#9c7b44{/if}" />
							<span class="help-block" style="color:red;">*默认为金色：#9c7b44</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_sharetextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_sharetextbgcolor']}{$settings['waimaitt_elmsc_sharetextbgcolor']}{else}linear-gradient(to top,#f7c277,#fdf4ca){/if}" />
							<span class="help-block" style="color:red;">*默认为渐变色：linear-gradient(to top,#f7c277,#fdf4ca)</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_sharetextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_sharetextsize']}{$settings['waimaitt_elmsc_sharetextsize']}{else}36{/if}" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_sharetextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_sharetextlh']}{$settings['waimaitt_elmsc_sharetextlh']}{else}76{/if}" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantext]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_tuantext']}{$settings['waimaitt_elmsc_tuantext']}{else}复制文案{/if}" />
							<span class="help-block" style="color:red;">*默认为：复制文案</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”复制的内容：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantext_c]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_tuantext_c']}{$settings['waimaitt_elmsc_tuantext_c']}{else}红包天天领，最高可得20元！{/if}" />
							<span class="help-block" style="color:red;">*默认为：红包天天领，最高可得20元！</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantextcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_tuantextcolor']}{$settings['waimaitt_elmsc_tuantextcolor']}{else}#1b4e63{/if}" />
							<span class="help-block" style="color:red;">*默认为黑色：#1b4e63</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantextbgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_tuantextbgcolor']}{$settings['waimaitt_elmsc_tuantextbgcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantextsize]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_tuantextsize']}{$settings['waimaitt_elmsc_tuantextsize']}{else}36{/if}" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantextlh]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_tuantextlh']}{$settings['waimaitt_elmsc_tuantextlh']}{else}76{/if}" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-是否显示注意事项</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmsc_isnotice]" value="1" {if $settings['waimaitt_elmsc_isnotice'] == 1}checked="true"{/if} /> 不显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmsc_isnotice]" value="0" {if $settings['waimaitt_elmsc_isnotice'] == 0}checked="true"{else}{if $settings['waimaitt_elmsc_isnotice'] == ''}checked="true"{/if}{/if} /> 显示</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“注意事项”背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_noticebgcolor]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_noticebgcolor']}{$settings['waimaitt_elmsc_noticebgcolor']}{else}#FFFFFF{/if}" />
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“注意事项”：</label>
						<div class="col-sm-9">
							{php echo tpl_ueditor('data[waimaitt_elmsc_notice]',$settings['waimaitt_elmsc_notice'],['height' => 500]);}
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaitt-poster">
				<div class="panel-heading">海报设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团饿了么海报类型：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[poster_type]" value="0" {if $settings['poster_type'] == 0}checked="true"{/if} /> 打开自己的小程序</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[poster_type]" value="1" {if $settings['poster_type'] == 1}checked="true"{/if} /> 打开美团饿了么小程序</label>
							<span class="help-block" style="color:red;">*美团饿了么页面的海报扫码打开的类型。如果海报二维码选择打开美团饿了么小程序，请将https://img.alicdn.com、https://p0.meituan.net、https://p1.meituan.net、https://p2.meituan.net、https://p3.meituan.net添加到微信小程序后台的downloadfile域名里面（开发管理—>开发设置->服务器域名）</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[user_poster_keyword]" class="form-control" placeholder="" value="{$settings['user_poster_keyword']}" />
							<span class="help-block" style="color:red;">*个人中心公众号海报关键词，填写之后个人中心海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[myposter]', $settings['myposter'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报二维码logo：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[myposterlogo]', $settings['myposterlogo'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*请上传png格式的图片，图片尺寸：200*200</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[myposter_qrcode]" class="form-control" placeholder="" value="{if $settings['myposter_qrcode']}{$settings['myposter_qrcode']}{else}350{/if}" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[myposter_qrcodex]" class="form-control" placeholder="" value="{if $settings['myposter_qrcodex']}{$settings['myposter_qrcodex']}{else}0{/if}" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[myposter_qrcodey]" class="form-control" placeholder="" value="{if $settings['myposter_qrcodey']}{$settings['myposter_qrcodey']}{else}615{/if}" />
							<span class="help-block" style="color:red;">*默认：615</span>
						</div>
					</div>


					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[mtwm_poster_keyword]" class="form-control" placeholder="" value="{$settings['mtwm_poster_keyword']}" />
							<span class="help-block" style="color:red;">*美团外卖公众号海报关键词，填写之后美团外卖海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituanwm_poster]', $settings['waimaitt_meituanwm_poster'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_poster_qrcode]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_poster_qrcode']}{$settings['waimaitt_meituanwm_poster_qrcode']}{else}350{/if}" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_poster_qrcodex]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_poster_qrcodex']}{$settings['waimaitt_meituanwm_poster_qrcodex']}{else}0{/if}" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_poster_qrcodey]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituanwm_poster_qrcodey']}{$settings['waimaitt_meituanwm_poster_qrcodey']}{else}615{/if}" />
							<span class="help-block" style="color:red;">*默认：615</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[mtsc_poster_keyword]" class="form-control" placeholder="" value="{$settings['mtsc_poster_keyword']}" />
							<span class="help-block" style="color:red;">*美团商超公众号海报关键词，填写之后美团商超海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_meituansc_poster]', $settings['waimaitt_meituansc_poster'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_poster_qrcode]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_poster_qrcode']}{$settings['waimaitt_meituansc_poster_qrcode']}{else}350{/if}" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_poster_qrcodex]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_poster_qrcodex']}{$settings['waimaitt_meituansc_poster_qrcodex']}{else}0{/if}" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_poster_qrcodey]" class="form-control" placeholder="" value="{if $settings['waimaitt_meituansc_poster_qrcodey']}{$settings['waimaitt_meituansc_poster_qrcodey']}{else}615{/if}" />
							<span class="help-block" style="color:red;">*默认：615</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[elmwm_poster_keyword]" class="form-control" placeholder="" value="{$settings['elmwm_poster_keyword']}" />
							<span class="help-block" style="color:red;">*饿了么外卖公众号海报关键词，填写之后饿了么外卖海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmwm_poster]', $settings['waimaitt_elmwm_poster'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_poster_qrcode]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_poster_qrcode']}{$settings['waimaitt_elmwm_poster_qrcode']}{else}350{/if}" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_poster_qrcodex]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_poster_qrcodex']}{$settings['waimaitt_elmwm_poster_qrcodex']}{else}0{/if}" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_poster_qrcodey]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmwm_poster_qrcodey']}{$settings['waimaitt_elmwm_poster_qrcodey']}{else}805{/if}" />
							<span class="help-block" style="color:red;">*默认：805</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[elmsc_poster_keyword]" class="form-control" placeholder="" value="{$settings['elmsc_poster_keyword']}" />
							<span class="help-block" style="color:red;">*饿了么果蔬商超公众号海报关键词，填写之后饿了么果蔬商超海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[waimaitt_elmsc_poster]', $settings['waimaitt_elmsc_poster'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_poster_qrcode]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_poster_qrcode']}{$settings['waimaitt_elmsc_poster_qrcode']}{else}350{/if}" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_poster_qrcodex]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_poster_qrcodex']}{$settings['waimaitt_elmsc_poster_qrcodex']}{else}0{/if}" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_poster_qrcodey]" class="form-control" placeholder="" value="{if $settings['waimaitt_elmsc_poster_qrcodey']}{$settings['waimaitt_elmsc_poster_qrcodey']}{else}505{/if}" />
							<span class="help-block" style="color:red;">*默认：505</span>
						</div>
					</div>
					
				</div>
			</div>
			<!--
			<div role="tabpanel" class="tab-pane panel panel-default main" id="ranking" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">排行榜页设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ranking_bg]" class="form-control" placeholder="" value="{if $settings['ranking_bg']}{$settings['ranking_bg']}{else}#e25947{/if}" />
						  <span class="help-block" style="color:red;">*背景色，默认为：#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[ranking_toppic]', $settings['ranking_toppic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*图片尺寸：750*350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">榜单距离顶部距离</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ranking_list_top]" class="form-control" placeholder="" value="{if $settings['ranking_list_top']}{$settings['ranking_list_top']}{else}250{/if}" />
						  <span class="help-block" style="color:red;">*榜单距离顶部距离，默认为：250</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">榜单背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ranking_list_bg]" class="form-control" placeholder="" value="{if $settings['ranking_list_bg']}{$settings['ranking_list_bg']}{else}#FFFFFF{/if}" />
						  <span class="help-block" style="color:red;">*榜单背景色，默认为：#FFFFFF白色</span>
						</div>
					</div>
				</div>
			</div>
			-->

			<div role="tabpanel" class="tab-pane panel panel-default main" id="jutuike" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">聚推客联盟总佣金比例设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuike_elm_yjrate]" class="form-control" placeholder="" value="{if $settings['jutuike_elm_yjrate']}{$settings['jutuike_elm_yjrate']}{else}{if $settings['elm_yjrate']}{$settings['elm_yjrate']}{else}85{/if}{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如饿了么总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuike_meituan_yjrate]" class="form-control" placeholder="" value="{if $settings['jutuike_meituan_yjrate']}{$settings['jutuike_meituan_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如美团总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuike_movie_yjrate]" class="form-control" placeholder="" value="{if $settings['jutuike_movie_yjrate']}{$settings['jutuike_movie_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如电影票总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">京东总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuike_mall_jd_yjrate]" class="form-control" placeholder="" value="{if $settings['jutuike_mall_jd_yjrate']}{$settings['jutuike_mall_jd_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如商品总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">拼多多总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuike_mall_pdd_yjrate]" class="form-control" placeholder="" value="{if $settings['jutuike_mall_pdd_yjrate']}{$settings['jutuike_mall_pdd_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如商品总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">肯德基点餐总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuike_kfc_yjrate]" class="form-control" placeholder="" value="{if $settings['jutuike_kfc_yjrate']}{$settings['jutuike_kfc_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如肯德基点餐总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">麦当劳点餐总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuike_mc_yjrate]" class="form-control" placeholder="" value="{if $settings['jutuike_mc_yjrate']}{$settings['jutuike_mc_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如麦当劳点餐总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">其他CPS总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuike_huafei_yjrate]" class="form-control" placeholder="" value="{if $settings['jutuike_huafei_yjrate']}{$settings['jutuike_huafei_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
				</div>
			</div>
			
			<div role="tabpanel" class="tab-pane panel panel-default main" id="fenxiao" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">总佣金比例设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_yjrate]" class="form-control" placeholder="" value="{if $settings['meituan_yjrate']}{$settings['meituan_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如美团总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么/淘宝总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[elm_yjrate]" class="form-control" placeholder="" value="{if $settings['elm_yjrate']}{$settings['elm_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如饿了么总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。请考虑淘宝联盟需要扣10%的技术服务费及个人/企业所得税后，计算出该比例</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_yjrate]" class="form-control" placeholder="" value="{if $settings['movie_yjrate']}{$settings['movie_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如电影票总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">京东总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_jd_yjrate]" class="form-control" placeholder="" value="{if $settings['mall_jd_yjrate']}{$settings['mall_jd_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如商品总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">拼多多总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_pdd_yjrate]" class="form-control" placeholder="" value="{if $settings['mall_pdd_yjrate']}{$settings['mall_pdd_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如商品总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">唯品会总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_wph_yjrate]" class="form-control" placeholder="" value="{if $settings['mall_wph_yjrate']}{$settings['mall_wph_yjrate']}{else}85{/if}" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如商品总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">普通会员佣金设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">自推/自买佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_1]" class="form-control" placeholder="" value="{if $settings['c_1']}{$settings['c_1']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_2]" class="form-control" placeholder="" value="{if $settings['c_2']}{$settings['c_2']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，A发展B，B自买，A得到的佣金比例</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">间推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_3]" class="form-control" placeholder="" value="{if $settings['c_3']}{$settings['c_3']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，A发展B，B发展C，C自买，A得到的佣金比例</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">团长佣金设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">自推/自买佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_t_1]" class="form-control" placeholder="" value="{if $settings['c_t_1']}{$settings['c_t_1']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_t_2]" class="form-control" placeholder="" value="{if $settings['c_t_2']}{$settings['c_t_2']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，A团长发展B普通会员，B自买，A团长得到的佣金比例</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">非直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_t]" class="form-control" placeholder="" value="{if $settings['c_t']}{$settings['c_t']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，非直推：除直推外整个团队下面的普通会员</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">团队最近一个团长团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_2t]" class="form-control" placeholder="" value="{if $settings['c_2t']}{$settings['c_2t']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">合伙人佣金设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">自推/自买佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_h_1]" class="form-control" placeholder="" value="{if $settings['c_h_1']}{$settings['c_h_1']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_h_2]" class="form-control" placeholder="" value="{if $settings['c_h_2']}{$settings['c_h_2']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，A发展B，B自买，A得到的佣金比例</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">非直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_h_3]" class="form-control" placeholder="" value="{if $settings['c_h_3']}{$settings['c_h_3']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，非直推：除直推外整个团队下面的普通会员</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直属团长团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_1h]" class="form-control" placeholder="" value="{if $settings['c_1h']}{$settings['c_1h']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">间属团长团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_2h]" class="form-control" placeholder="" value="{if $settings['c_2h']}{$settings['c_2h']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直属合伙人团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_3h]" class="form-control" placeholder="" value="{if $settings['c_3h']}{$settings['c_3h']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">间属合伙人团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_4h]" class="form-control" placeholder="" value="{if $settings['c_4h']}{$settings['c_4h']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">等级名称设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">普通会员自定义名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[member_name]" class="form-control" placeholder="" value="{if $settings['member_name']}{$settings['member_name']}{else}普通会员{/if}" />
						  <span class="help-block" style="color:red;">*普通会员自定义名称，默认为普通会员</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">团长自定义名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tuan_name]" class="form-control" placeholder="" value="{if $settings['tuan_name']}{$settings['tuan_name']}{else}团长{/if}" />
						  <span class="help-block" style="color:red;">*团长自定义名称，默认为团长</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">合伙人自定义名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[he_name]" class="form-control" placeholder="" value="{if $settings['he_name']}{$settings['he_name']}{else}合伙人{/if}" />
						  <span class="help-block" style="color:red;">*合伙人自定义名称，默认为团长</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">美团预估佣金比例设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖预估佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_wm_yugu]" class="form-control" placeholder="" value="{if $settings['meituan_wm_yugu']}{$settings['meituan_wm_yugu']}{else}{/if}" />
						  <span class="help-block" style="color:red;">*美团订单完成之前不会显示佣金，如果想获取订单时提前预估佣金，请设置预估佣金比例，只填写数字，不写%号</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团优选预估佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_yx_yugu]" class="form-control" placeholder="" value="{if $settings['meituan_yx_yugu']}{$settings['meituan_yx_yugu']}{else}3{/if}" />
						  <span class="help-block" style="color:red;">*美团优选预估佣金比例，只填写数字，不写%号</span>
						</div>
					</div>
					<!--<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超预估佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_sc_yugu]" class="form-control" placeholder="" value="{if $settings['meituan_sc_yugu']}{$settings['meituan_sc_yugu']}{else}{/if}" />
						  <span class="help-block" style="color:red;">*美团订单完成之前不会显示佣金，如果想获取订单时提前预估佣金，请设置预估佣金比例，只填写数字，不写%号</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团优选预估佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_yx_yugu]" class="form-control" placeholder="" value="{if $settings['meituan_yx_yugu']}{$settings['meituan_yx_yugu']}{else}{/if}" />
						  <span class="help-block" style="color:red;">*美团订单完成之前不会显示佣金，如果想获取订单时提前预估佣金，请设置预估佣金比例，只填写数字，不写%号</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团酒店预估佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_jd_yugu]" class="form-control" placeholder="" value="{if $settings['meituan_jd_yugu']}{$settings['meituan_jd_yugu']}{else}{/if}" />
						  <span class="help-block" style="color:red;">*美团订单完成之前不会显示佣金，如果想获取订单时提前预估佣金，请设置预估佣金比例，只填写数字，不写%号</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团团购预估佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_tg_yugu]" class="form-control" placeholder="" value="{if $settings['meituan_tg_yugu']}{$settings['meituan_tg_yugu']}{else}{/if}" />
						  <span class="help-block" style="color:red;">*美团订单完成之前不会显示佣金，如果想获取订单时提前预估佣金，请设置预估佣金比例，只填写数字，不写%号</span>
						</div>
					</div>-->
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="cash" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">提现设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现方式：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[pay_type]" value="0" {if $settings['pay_type'] == 0}checked="true"{/if} /> 微信企业付款到零钱</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[pay_type]" value="1" {if $settings['pay_type'] == 1}checked="true"{/if} /> 支付宝</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">满多少金额才能提现</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_min]" class="form-control" placeholder="" value="{$settings['cash_min']}" />
						  <span class="help-block" style="color:red;">*填数字</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现免审：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[cash_nocheck]" value="1" {if $settings['cash_nocheck'] == 1}checked="true"{/if} /> 开通</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[cash_nocheck]" value="0" {if $settings['cash_nocheck'] == 0}checked="true"{/if} /> 关闭</label>
							<span class="help-block" style="color:red;">*开启后用户提现将立即支付。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现免审金额</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_nocheck_mini]" class="form-control" placeholder="" value="{$settings['cash_nocheck_mini']}" />
						  <span class="help-block" style="color:red;">*填数字,低于这个金额的才能免审自动提现。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">微信企业付款到零钱备注信息</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_in_desc]" class="form-control" placeholder="" value="{if $settings['cash_in_desc']}{$settings['cash_in_desc']}{else}外卖返现{/if}" />
						  <span class="help-block" style="color:red;">*微信企业付款到零钱备注信息，默认为：外卖返现</span>
						</div>
					</div>

					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">每天提现次数限制</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_daylimit]" class="form-control" placeholder="" value="{$settings['cash_daylimit']}" />
						  <span class="help-block" style="color:red;">*填数字，不填不限制次数</span>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="gzh" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">主公众号设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号uniacid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_id]" class="form-control" placeholder="" value="{$settings['gzh_id']}" />
						  <span class="help-block" style="color:red;">*填公众号的微擎uniacid，须与小程序相同主体且关联绑定。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号appid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_appid]" class="form-control" placeholder="" value="{$settings['gzh_appid']}" />
						  <span class="help-block" style="color:red;">*填公众号的appid，须与小程序相同主体且关联绑定。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号新用户通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_newuser_tplid]" class="form-control" placeholder="" value="{$settings['gzh_newuser_tplid']}" />
						  <span class="help-block" style="color:red;">*新用户模板消息通知上级：IT科技 - 互联网|电子商务 》 客户到访通知 》OPENTM406401445</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号订单通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_neworder_tplid]" class="form-control" placeholder="" value="{$settings['gzh_neworder_tplid']}" />
						  <span class="help-block" style="color:red;">*新订单模板消息通知上级：IT科技 - 互联网|电子商务 》 新订单提醒 》 OPENTM406438518</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号积分订单发货通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_itemfahuo_tplid]" class="form-control" placeholder="" value="{$settings['gzh_itemfahuo_tplid']}" />
						  <span class="help-block" style="color:red;">*积分订单发货通知模板消息：IT科技 - 互联网|电子商务 》 订单发货通知 》 OPENTM418033200</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号点餐通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_diancan_tplid]" class="form-control" placeholder="" value="{$settings['gzh_diancan_tplid']}" />
						  <span class="help-block" style="color:red;">*新订单模板消息通知上级：IT科技 - 互联网|电子商务 》 客户预约提醒 》 OPENTM406778819</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐通知模板消息描述文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_diancan_tplid_1]" class="form-control" placeholder="" value="{if $settings['gzh_diancan_tplid_1']}{$settings['gzh_diancan_tplid_1']}{else}外卖红包领取提醒{/if}" />
						  <span class="help-block" style="color:red;">*预约项目文字，默认为：外卖红包领取提醒</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐通知模板消息预约项目文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_diancan_tplid_2]" class="form-control" placeholder="" value="{if $settings['gzh_diancan_tplid_2']}{$settings['gzh_diancan_tplid_2']}{else}外卖红包领取{/if}" />
						  <span class="help-block" style="color:red;">*预约项目文字，默认为：外卖红包领取</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐通知模板消息预约时间文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_diancan_tplid_3]" class="form-control" placeholder="" value="{if $settings['gzh_diancan_tplid_3']}{$settings['gzh_diancan_tplid_3']}{else}每天都可领{/if}" />
						  <span class="help-block" style="color:red;">*预约时间文字，默认为：每天都可领</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐通知模板消息备注文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_diancan_tplid_4]" class="form-control" placeholder="" value="{if $settings['gzh_diancan_tplid_4']}{$settings['gzh_diancan_tplid_4']}{else}赶快领取红包吧！如不再想收到预约通知，请去小程序个人中心取消。{/if}" />
						  <span class="help-block" style="color:red;">*备注文字，默认为：赶快领取红包吧！如不再想收到预约通知，请去小程序个人中心取消。</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="myTab3" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">美团API通道设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团API通道：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[meituan_api_type]" value="4" {if $settings['meituan_api_type'] == 4}checked="true"{/if} /> 聚推客联盟</label>
							&nbsp;&nbsp;&nbsp;
						    <label class="radio-inline"><input type="radio" name="data[meituan_api_type]" value="1" {if $settings['meituan_api_type'] == 1}checked="true"{/if} /> 美团联盟（官方）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[meituan_api_type]" value="2" {if $settings['meituan_api_type'] == 2}checked="true"{/if} /> 美团分销联盟（官方）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[meituan_api_type]" value="0" {if $settings['meituan_api_type'] == 0}checked="true"{/if} /> 订单侠</label>
							<span class="help-block" style="color:blue;">*聚推客联盟：<a href="https://www.jutuike.com/">https://www.jutuike.com/</a>，<a style="color:red;">个人、商企均可对接，不强制要求开发票</a>，支持美团外卖、美团闪购、美团优选、美团团购、美团酒店、拼多多（仅限频道推广，V3等级最高佣金）、京东（仅限双佣金商品）、肯德基&麦当劳（H5）、电影票（H5）；（H5需要使用客服消息回复获取链接）</span>
							<span class="help-block" style="color:green;">*美团联盟（官方）：<a href="https://union.meituan.com/">https://union.meituan.com/</a>，支持美团外卖、美团闪购、美团优选，限商企申请，需要对公账户及开票；</span>
							<span class="help-block" style="color:orange;">*美团分销联盟（官方）：<a href="https://pub.meituan.com/">https://pub.meituan.com/</a>，支持美团外卖、美团闪购、美团团购、美团酒店，限商企申请，需要对公账户及开票；</span>
							<span class="help-block" style="color:DarkGray;">*订单侠：已升级为聚推客</span>
							<span class="help-block" style="color:red;">*特别说明：以上API通道自行选择使用，与开发者无关联。</span>
							
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团优选API通道：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[meituan_yxapi_type]" value="2" {if $settings['meituan_yxapi_type'] == 2}checked="true"{/if} /> 聚推客联盟</label>
							&nbsp;&nbsp;&nbsp;
						    <label class="radio-inline"><input type="radio" name="data[meituan_yxapi_type]" value="0" {if $settings['meituan_yxapi_type'] == 0}checked="true"{/if} /> 美团联盟（官方）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[meituan_yxapi_type]" value="1" {if $settings['meituan_yxapi_type'] == 1}checked="true"{/if} /> 订单侠</label>
							<span class="help-block" style="color:red;">*如果美团API通道使用了美团分销联盟（官方），请选择美团优选API通道</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">聚推客联盟api设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">聚推客联盟身份ID pub_id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuikepub_id]" class="form-control" placeholder="" value="{$settings['jutuikepub_id']}" />
						  <span class="help-block" style="color:red;">*去聚推客联盟<a href="https://www.jutuike.com/">https://www.jutuike.com/</a>注册账号，然后到个人中心-开发管理-接口管理获取身份ID pub_id。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">聚推客联盟apikey秘钥</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuikeapikey]" class="form-control" placeholder="" value="{$settings['jutuikeapikey']}" />
						  <span class="help-block" style="color:red;">*去聚推客联盟<a href="https://www.jutuike.com/">https://www.jutuike.com/</a>注册账号，然后到个人中心-开发管理-接口管理获取接口秘钥apikey。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">美团联盟官方api设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟api秘钥</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituanapikey]" class="form-control" placeholder="" value="{$settings['meituanapikey']}" />
						  <span class="help-block" style="color:red;">*去美团联盟https://union.meituan.com/注册账号，获取api秘钥。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟媒体Appkey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituanappkey]" class="form-control" placeholder="" value="{$settings['meituanappkey']}" />
						  <span class="help-block" style="color:red;">*美团联盟媒体管理——新增媒体，获取媒体appkey。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">订单侠api设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单侠apikey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ddxapikey]" class="form-control" placeholder="" value="{$settings['ddxapikey']}" />
						  <span class="help-block" style="color:red;">*去订单侠网站注册账号，获取apikey。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">美团联盟设置（美团联盟官方、折淘客、订单侠适用）</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟外卖红包活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_waimai_h5_url]" class="form-control" placeholder="" value="{if $settings['meituan_waimai_h5_url']}{$settings['meituan_waimai_h5_url']}{else}2{/if}" />
						  <span class="help-block" style="color:red;">*非特殊情况不要修改，默认为2</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟闪购红包活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_sc_h5_url]" class="form-control" placeholder="" value="{if $settings['meituan_sc_h5_url']}{$settings['meituan_sc_h5_url']}{else}4{/if}" />
						  <span class="help-block" style="color:red;">*非特殊情况不要修改，默认为4</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟优选红包活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_yx_h5_url]" class="form-control" placeholder="" value="{if $settings['meituan_yx_h5_url']}{$settings['meituan_yx_h5_url']}{else}22{/if}" />
						  <span class="help-block" style="color:red;">*非特殊情况不要修改，默认为22</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否打开美团二维码图片：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mtpic]" value="1" {if $settings['mtpic'] == 1}checked="true"{/if} /> 打开</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mtpic]" value="0" {if $settings['mtpic'] == 0}checked="true"{/if} /> 不打开</label>
							<span class="help-block" style="color:red;">*应对美团小程序跳转被封的情况</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">美团分销联盟API设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟AppKey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_AppKey]" class="form-control" placeholder="" value="{$settings['meituangroup_AppKey']}" />
						  <span class="help-block" style="color:red;">*去美团分销联盟https://pub.meituan.com/注册账号，获取AppKey。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟utmSource</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_utmSource]" class="form-control" placeholder="" value="{$settings['meituangroup_utmSource']}" />
						  <span class="help-block" style="color:red;">*去美团分销联盟https://pub.meituan.com/注册账号，获取utmSource。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟吃喝玩乐活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_chwl_activity]" class="form-control" placeholder="" value="{$settings['meituangroup_chwl_activity']}" />
						  <span class="help-block" style="color:red;">*美团分销联盟吃喝玩乐活动ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟酒店活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_hotel_activity]" class="form-control" placeholder="" value="{$settings['meituangroup_hotel_activity']}" />
						  <span class="help-block" style="color:red;">*美团分销联盟酒店活动ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟外卖活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_waimai_activity]" class="form-control" placeholder="" value="{$settings['meituangroup_waimai_activity']}" />
						  <span class="help-block" style="color:red;">*美团分销联盟外卖活动ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟闪购活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_sc_activity]" class="form-control" placeholder="" value="{$settings['meituangroup_sc_activity']}" />
						  <span class="help-block" style="color:red;">*美团分销联盟闪购活动ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟推广位ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_pid]" class="form-control" placeholder="" value="{$settings['meituangroup_pid']}" />
						  <span class="help-block" style="color:red;">*美团分销联盟推广位ID。</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否使用新推广链接：</label>
						<div class="col-sm-9 col-xs-12">
							<!--<label class="radio-inline"><input type="radio" name="data[meituangroup_newurl]" value="1" {if $settings['meituangroup_newurl'] == 1}checked="true"{/if} /> 使用</label>
							&nbsp;&nbsp;&nbsp;-->
							<label class="radio-inline"><input type="radio" name="data[meituangroup_newurl]" value="0" checked="true" /> 不使用</label>
							<span class="help-block" style="color:red;">*若美团旧推广链接无法使用时，请切换使用新推广链接。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">吃喝玩乐是否开启底部导航：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[meituangroup_tabbar]" value="1" {if $settings['meituangroup_tabbar'] == 1}checked="true"{/if} /> 开启</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[meituangroup_tabbar]" value="0" {if $settings['meituangroup_tabbar'] == 0}checked="true"{/if} /> 关闭</label>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="credit" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">积分设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单佣金奖励积分比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[credit_order_rate]" class="form-control" placeholder="" value="{if $settings['credit_order_rate']}{$settings['credit_order_rate']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填写数字，例如设置为100，即表示订单佣金1元，奖励积分100。订单结算之后才能兑换。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">余额兑换积分比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[credit_money_rate]" class="form-control" placeholder="" value="{if $settings['credit_money_rate']}{$settings['credit_money_rate']}{else}0{/if}" />
						  <span class="help-block" style="color:red;">*填写数字，例如设置为100，即表示余额1元可兑换100积分。为0则不能兑换。</span>
						</div>
					</div>
				    
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="tabbar" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">底部导航设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">未选中颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_color]" class="form-control" placeholder="" value="{if $settings['tabbar_color']}{$settings['tabbar_color']}{else}#aaaaaa{/if}" />
						  <span class="help-block" style="color:red;">*导航文字未选中时的颜色，默认#aaaaaa。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">选中颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_selectedColor]" class="form-control" placeholder="" value="{if $settings['tabbar_selectedColor']}{$settings['tabbar_selectedColor']}{else}#e25947{/if}" />
						  <span class="help-block" style="color:red;">*导航文字选中时的颜色，默认#e25947。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">字体大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_fontSize]" class="form-control" placeholder="" value="{if $settings['tabbar_fontSize']}{$settings['tabbar_fontSize']}{else}22{/if}" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认22。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">图标宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_iconWidth]" class="form-control" placeholder="" value="{if $settings['tabbar_iconWidth']}{$settings['tabbar_iconWidth']}{else}44{/if}" />
						  <span class="help-block" style="color:red;">*图标宽度，默认44。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">图标高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_iconHight]" class="form-control" placeholder="" value="{if $settings['tabbar_iconHight']}{$settings['tabbar_iconHight']}{else}44{/if}" />
						  <span class="help-block" style="color:red;">*图标高度，默认44。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">图标与文字间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_intervalHight]" class="form-control" placeholder="" value="{if $settings['tabbar_intervalHight']}{$settings['tabbar_intervalHight']}{else}8{/if}" />
						  <span class="help-block" style="color:red;">*图标与文字间距，默认8。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航栏高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_tabBarHight]" class="form-control" placeholder="" value="{if $settings['tabbar_tabBarHight']}{$settings['tabbar_tabBarHight']}{else}104{/if}" />
						  <span class="help-block" style="color:red;">*导航栏高度，默认104。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航栏阴影</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_boxShadow]" class="form-control" placeholder="" value="{if $settings['tabbar_boxShadow']}{$settings['tabbar_boxShadow']}{else}0 -1rpx 6rpx rgba(0, 0, 0, 0.1){/if}" />
						  <span class="help-block" style="color:red;">*导航栏阴影，默认0 -1rpx 6rpx rgba(0, 0, 0, 0.1)。</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="movie" style="display:{if $_W['role']!='founder'}{else}{/if};">
			    <div class="panel-heading">出票设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">出票方式：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="movie_ticket_type" value="0" {if $settings['movie_ticket_type'] == 0 || !$settings['movie_ticket_type']}checked="true"{/if} /> 自动出票</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="movie_ticket_type" value="1" {if $settings['movie_ticket_type'] == 1}checked="true"{/if} /> 手动出票</label>
							<span class="help-block" style="color:red;">*自动出票：走第三方接口出票，手动出票：自己去寻找票商出票，然后在后台上传出票信息，手动出票会将停售时间提前20分钟。</span>
						</div>
					</div>
					<div class="form-group" id="movie_ticket_adminopenid" {if $settings['movie_ticket_type'] == 1}{else}style="display:none;"{/if}>
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">出票管理员小程序openid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_ticket_adminopenid]" class="form-control" placeholder="" value="{$settings['movie_ticket_adminopenid']}" />
						  <span class="help-block" style="color:red;">*手动出票请填写，用于接收用户订单提醒，多个openid请用英文逗号分隔。</span>
						</div>
					</div>
					<div class="form-group" id="movie_tpl_xcxdaibaojia" {if $settings['movie_ticket_type'] == 1}{else}style="display:none;"{/if}>
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">小程序待报价提醒订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_xcxdaibaojia]" class="form-control" placeholder="" value="{$settings['movie_tpl_xcxdaibaojia']}" />
						  <span class="help-block" style="color:red;">*手动出票请填写，用于通知管理员，请先添加生活服务-休闲娱乐类目，然后搜索：待报价提醒，依次选择：影城名称、影片名称、场次时间、备注。</span>
						</div>
					</div>
					<!--<div class="form-group" id="movie_tpl_xcxbaojiaupdate" {if $settings['movie_ticket_type'] == 1}{else}style="display:none;"{/if}>
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">小程序影票报价更新提醒订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_xcxbaojiaupdate]" class="form-control" placeholder="" value="{$settings['movie_tpl_xcxbaojiaupdate']}" />
						  <span class="help-block" style="color:red;">*手动出票请填写，用于票商报价后通知平台，请先添加生活服务-休闲娱乐类目，然后搜索：影票报价更新提醒，依次选择：电影、报价金额、座次。</span>
						</div>
					</div>
					<div class="form-group" id="movie_tpl_xcjingjia" {if $settings['movie_ticket_type'] == 1}{else}style="display:none;"{/if}>
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">小程序活动评选结束通知订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_xcxjingjia]" class="form-control" placeholder="" value="{$settings['movie_tpl_xcxjingjia']}" />
						  <span class="help-block" style="color:red;">*手动出票请填写，用于通知票商报价被接受，请先添加生活服务-休闲娱乐类目，然后搜索：活动评选结束通知，依次选择：活动名称、温馨提示。</span>
						</div>
					</div>-->
				</div>
				<div class="panel-heading">票价设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否允许破底价：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[movie_discountRule]" value="0" {if $settings['movie_discountRule'] == 0}checked="true"{/if} /> 不允许</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[movie_discountRule]" value="1" {if $settings['movie_discountRule'] == 1}checked="true"{/if} /> 允许</label>
							<span class="help-block" style="color:red;">*允许破底价，表示当电影票出票折扣高于设置的折扣时，仍然按设置的折扣让用户购票。不允许破底价，表示如果电影票出票折扣高于设置的折扣，则按出票折扣让用户购票。</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">不同折扣基准市场价</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_netprice]" class="form-control" placeholder="" value="{if $settings['movie_netprice']}{$settings['movie_netprice']}{else}39{/if}" />
						  <span class="help-block" style="color:red;">*填数字：例如填写39，即表示可设置低于39元的折扣及高于39元的折扣。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">市场价{if $settings['movie_netprice']}{$settings['movie_netprice']}{else}39{/if}元以下电影票价格折扣</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_price]" class="form-control" placeholder="" value="{if $settings['movie_price']}{$settings['movie_price']}{else}92{/if}" />
						  <span class="help-block" style="color:red;">*填百分比数字：例如填写92，即表示用户购票价格为市场价的92折。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">市场价{if $settings['movie_netprice']}{$settings['movie_netprice']}{else}39{/if}元以上电影票价格折扣</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_price1]" class="form-control" placeholder="" value="{if $settings['movie_price1']}{$settings['movie_price1']}{else}92{/if}" />
						  <span class="help-block" style="color:red;">*填百分比数字：例如填写92，即表示用户购票价格为市场价的92折。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">电影票API接口设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API接口appKey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_s_appKey]" class="form-control" placeholder="" value="{$settings['movie_api_s_appKey']}" />
						  <span class="help-block" style="color:red;">*API接口appKey。测试appKey：10000000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API接口秘钥</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_s_appSecret]" class="form-control" placeholder="" value="{$settings['movie_api_s_appSecret']}" />
						  <span class="help-block" style="color:red;">*API接口秘钥。测试秘钥：25f9e794323b453885f5181f1b624d0b</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API接口url</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_s_url]" class="form-control" placeholder="" value="{$settings['movie_api_s_url']}" />
						  <span class="help-block" style="color:red;">*API接口url。测试接口：http://movieapi-test.taototo.cn/</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API接口url（V2版）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_s_url2]" class="form-control" placeholder="" value="{$settings['movie_api_s_url2']}" />
						  <span class="help-block" style="color:red;">*API接口url。V2版测试接口：http://movieapi2-test.taototo.cn/</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">H5接口url（V2版）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_h5_s_url2]" class="form-control" placeholder="" value="https://yp-api.taototo.cn/" />
						  <span class="help-block" style="color:red;">*H5接口url。V2版接口：https://yp-api.taototo.cn/</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票图片域名</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_pic_s_url2]" class="form-control" placeholder="" value="{if $settings['movie_pic_s_url2']}{$settings['movie_pic_s_url2']}{else}https://gw.alicdn.com/tfscom/cdn{/if}" />
						  <span class="help-block" style="color:red;">*默认为：https://gw.alicdn.com/tfscom/cdn，非特殊情况不要修改。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API回调url</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_notifyUrl]" class="form-control" placeholder="" value="{$settings['movie_api_notifyUrl']}" />
						  <span class="help-block" style="color:red;">*API回调url。回调url请填：{$_W['siteroot']}addons/{php echo $this->modulename}/callback.php?id={$_W['uniacid']}</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">小程序订阅消息设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影出票成功通知订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_1]" class="form-control" placeholder="" value="{$settings['movie_tpl_1']}" />
						  <span class="help-block" style="color:red;">*请先添加生活服务-休闲娱乐类目，然后搜索：电影出票成功通知，依次选择：电影名称、影院名称、开场时间、影厅、座位信息。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票购买结果通知订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_2]" class="form-control" placeholder="" value="{$settings['movie_tpl_2']}" />
						  <span class="help-block" style="color:red;">*请先添加生活服务-休闲娱乐类目，然后搜索：电影票购买结果通知，依次选择：购买结果、影院、影片信息。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">购票协议设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">用户购票协议名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_xieyi_name]" class="form-control" placeholder="" value="{if $settings['movie_xieyi_name']}{$settings['movie_xieyi_name']}{else}用户购票协议{/if}" />
						  <span class="help-block" style="color:red;">*自定义用户购票协议名称。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">用户购票协议跳转url</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_xieyi_url]" class="form-control" placeholder="" value="{$settings['movie_xieyi_url']}" />
						  <span class="help-block" style="color:red;">*用户购票协议跳转url，可以是内部文章path或者公众号文章url，内部文章path格式为：./page?page_id=文章id</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">客服二维码设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">客服二维码图片：</label>
						<div class="col-sm-9 col-xs-12">
							{php echo tpl_form_field_image('data[movie_kefupic]', $settings['movie_kefupic'], '', array('extras' => array('text' => 'readonly')))}
							<span class="help-block" style="color:red;">*请上传客服二维码图片</span>
						</div>
					</div>
					
				</div>

				<div class="panel-heading">顶部轮播导航设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启顶部轮播导航：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_type_movie]" value="0" {if $settings['index_type_movie'] == 0}checked="true"{/if} /> 否</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_type_movie]" value="1" {if $settings['index_type_movie'] == 1}checked="true"{/if} /> 是</label>
						</div>
					</div>
				</div>
				<div class="panel-heading">底部导航设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票首页底部导航是否使用首页底部导航：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[movie_tabbar_isindex]" value="0" {if $settings['movie_tabbar_isindex'] == 0}checked="true"{/if} /> 不使用</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[movie_tabbar_isindex]" value="1" {if $settings['movie_tabbar_isindex'] == 1}checked="true"{/if} /> 使用</label>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="ad" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">小程序广告设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">激励视频广告位id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ad_jili_id]" class="form-control" placeholder="" value="{$settings['ad_jili_id']}" />
						  <span class="help-block" style="color:red;">*小程序后台流量主:->广告管理->激励式广告->广告位ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页插屏广告位id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ad_index_cp_id]" class="form-control" placeholder="" value="{$settings['ad_index_cp_id']}" />
						  <span class="help-block" style="color:red;">*小程序后台流量主:->广告管理->插屏广告->广告位ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分中心插屏广告位id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ad_cp_id]" class="form-control" placeholder="" value="{$settings['ad_cp_id']}" />
						  <span class="help-block" style="color:red;">*小程序后台流量主:->广告管理->插屏广告->广告位ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">每日签到是否启用激励式视频双倍奖励：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[ad_is_everyday_video]" value="0" {if $settings['ad_is_everyday_video'] == 0}checked="true"{/if} /> 不启用</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[ad_is_everyday_video]" value="1" {if $settings['ad_is_everyday_video'] == 1}checked="true"{/if} /> 启用</label>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="signin" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">签到设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启签到：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[is_integral]" value="0" {if $settings['is_integral'] == 0}checked="true"{/if} /> 关闭</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[is_integral]" value="1" {if $settings['is_integral'] == 1}checked="true"{/if} /> 开启</label>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第1天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_1]" class="form-control" placeholder="" value="{$settings['signin_1']}" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第2天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_2]" class="form-control" placeholder="" value="{$settings['signin_2']}" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第3天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_3]" class="form-control" placeholder="" value="{$settings['signin_3']}" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第4天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_4]" class="form-control" placeholder="" value="{$settings['signin_4']}" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第5天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_5]" class="form-control" placeholder="" value="{$settings['signin_5']}" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第6天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_6]" class="form-control" placeholder="" value="{$settings['signin_6']}" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第7天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_7]" class="form-control" placeholder="" value="{$settings['signin_7']}" />
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="error" style="display:{if $_W['role']!='founder'}none{else}{/if};">
				<div class="panel-heading">调试代码</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启系统日志：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[errorcode]" value="0" {if $settings['errorcode'] == 0}checked="true"{/if} /> 关闭</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[errorcode]" value="1" {if $settings['errorcode'] == 1}checked="true"{/if} /> 开启</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">系统日志</label>
						<div class="col-sm-9 col-xs-12">
						  <a href="{php echo $this->createWebUrl('systemlog')}">点击查看系统日志</a>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">调试代码id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[errorcodeid]" class="form-control" placeholder="" value="{$settings['errorcodeid']}" />
						  <span class="help-block" style="color:red;">*调试代码id。</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="myTab4" style="display:{if $_W['role']!='founder'}{else}{/if};">
				<div class="panel-heading">淘宝API设置</div>
				<div class="panel-heading" style="color:red;">***折淘客api需要去服务器安全规则中放行出站的10000、10001、10002、10003端口***</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么接口设置：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[elm_api_type]" value="0" {if $settings['elm_api_type'] == 0 || !$settings['elm_api_type']}checked="true"{/if} /> 淘宝联盟</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[elm_api_type]" value="1" {if $settings['elm_api_type'] == 1}checked="true"{/if} /> 聚推客联盟</label>
							<span class="help-block" style="color:red;">*如果使用淘宝联盟，请填写下面的折淘客等参数；</span>
							<span class="help-block" style="color:red;">*如果使用聚推客联盟，请去“美团API设置-聚推客联盟api设置”设置聚推客联盟参数；</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">折淘客Appkey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[appkey]" class="form-control" placeholder="" value="{$settings['appkey']}" />
						  <span class="help-block" style="color:red;">*填写即表示启用淘宝数据</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">折淘客淘宝账号（有渠道权限）sid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[sid]" class="form-control" placeholder="" value="{$settings['sid']}" />
						  <span class="help-block" style="color:red;">*如果要使用渠道功能，让用户先绑定淘宝账号，才能领取饿了么红包，请填写折淘客sid</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝联盟渠道pid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tbqudaopid]" class="form-control" placeholder="" value="{$settings['tbqudaopid']}" />
						  <span class="help-block" style="color:red;">*如果要使用渠道功能，让用户先绑定淘宝账号，才能领取饿了么红包，请填写渠道PID，注意：这个渠道推广位不能出现在上传的推广位pid里面。</span>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖红包活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[elmwm_promotion_scene_id]" class="form-control" placeholder="" value="{if $settings['elmwm_promotion_scene_id']}{$settings['elmwm_promotion_scene_id']}{else}20150318020002192{/if}" />
						  <span class="help-block" style="color:red;">*默认活动ID：20150318020002192，非特殊情况不需要修改</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超红包活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[elmsc_promotion_scene_id]" class="form-control" placeholder="" value="{if $settings['elmsc_promotion_scene_id']}{$settings['elmsc_promotion_scene_id']}{else}1585018034441{/if}" />
						  <span class="help-block" style="color:red;">*默认活动ID：1585018034441，非特殊情况不需要修改</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">授权窗口默认跳转提示文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[default_elmtext]" class="form-control" placeholder="" value="{if $settings['default_elmtext']}{$settings['default_elmtext']}{else}有钱任性，直接领红包{/if}" />
						  <span class="help-block" style="color:red;">*默认为：有钱任性，直接领红包</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖默认跳转path</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[default_elmwmpath]" class="form-control" placeholder="" value="{if $settings['default_elmwmpath']}{$settings['default_elmwmpath']}{else}{/if}" />
						  <span class="help-block" style="color:red;">*如果用户不授权，点了有钱任性的按钮，默认的跳转path</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超默认跳转path</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[default_elmscpath]" class="form-control" placeholder="" value="{if $settings['default_elmscpath']}{$settings['default_elmscpath']}{else}{/if}" />
						  <span class="help-block" style="color:red;">*如果用户不授权，点了有钱任性的按钮，默认的跳转path</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">PID过滤名单：</label>
						<div class="col-sm-10 col-xs-12">
							<textarea class="form-control" name="data[pid_black]" placeholder="每个pid之间用英文逗号,分隔">{$settings['pid_black']}</textarea>
							<span class="help-block" style="color:red;">*每个pid之间用英文逗号,分隔，名单内的pid将不能获取订单</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="mall" style="display:{if $_W['role']!='founder'}{else}{/if};">
			    <div class="panel-heading">电商参数设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">蚂蚁星球API key</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_myxq_apikey]" class="form-control" placeholder="" value="{if $settings['mall_myxq_apikey']}{$settings['mall_myxq_apikey']}{else}{/if}" />
						  <span class="help-block" style="color:red;">*京东、拼多多、唯品会需要使用蚂蚁星球的API接口，请去蚂蚁星球网站注册会员，然后去开发者中心获取API key：http://www.haojingke.com/index.php/v1/member/openapi/index</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">限制搜索、商品关键词</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[index_search_keywords]" class="form-control" placeholder="" value="{if $settings['index_search_keywords']}{$settings['index_search_keywords']}{else}充值,话费,影视,会员,年卡,月卡,季卡,视频,Q币,q币,窃听,窃照,窃,伪基站,预设人像,预设,自动发货{/if}" />
						  <span class="help-block" style="color:red;">*请自行设置，避免搜索出违规商品，关键词之间用英文逗号分隔，默认为：充值,话费,影视,会员,年卡,月卡,季卡,视频,Q币,q币,窃听,窃照,窃,伪基站,预设人像,预设,自动发货</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">IOS系统限制展示关键词</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ios_keywords]" class="form-control" placeholder="" value="{if $settings['ios_keywords']}{$settings['ios_keywords']}{else}充值,话费,影视,会员,年卡,月卡,季卡,视频,Q币,q币,窃听,窃照,窃,伪基站,预设人像,预设,自动发货{/if}" />
						  <span class="help-block" style="color:red;">*请自行设置，避免IOS系统展示虚拟支付商品，关键词之间用英文逗号分隔，默认为：充值,话费,影视,会员,年卡,月卡,季卡,视频,Q币,q币,窃听,窃照,窃,伪基站,预设人像,预设,自动发货</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">IOS系统限制展示提示文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ios_keywords_text]" class="form-control" placeholder="" value="{if $settings['ios_keywords_text']}{$settings['ios_keywords_text']}{else}由于相关规范，iOS暂不支持该商品{/if}" />
						  <span class="help-block" style="color:red;">*请自行设置，默认为：由于相关规范，iOS暂不支持该商品</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">首页电商内容设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页电商平台设置</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[index_malltype]" class="form-control" placeholder="" value="{if $settings['index_malltype']}{$settings['index_malltype']}{else}美团优选|天天实惠|youxuan,京东|实惠好货|jd|eliteId=22,拼多多|领券直降|pdd,唯品会|品牌特卖|wph,淘宝/天猫|为你精选|tb{/if}" />
						  <span class="help-block" style="color:red;">*格式：平台名称|推荐语|平台标识，多个平台之间使用英文逗号,分隔，默认：美团优选|天天实惠|youxuan,京东|实惠好货|jd|eliteId=22,拼多多|领券直降|pdd,唯品会|品牌特卖|wph,淘宝/天猫|为你精选|tb</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页搜索栏、电商平台是否关注公众号才显示：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_mall_all_gzh]" value="0" {if $settings['index_mall_all_gzh'] == 0}checked="true"{/if}{if !$settings['index_mall_all_gzh']}checked="true"{/if} /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_mall_all_gzh]" value="1" {if $settings['index_mall_all_gzh'] == 1}checked="true"{/if} /> 关注才显示</label>
							<span class="help-block" style="color:#f00">首页搜索栏、电商平台是否关注公众号才显示，适用于小程序与公众号联营模式。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页搜索栏、电商平台是否有推荐人才显示：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_mall_all_tjr]" value="0" {if $settings['index_mall_all_tjr'] == 0}checked="true"{/if}{if !$settings['index_mall_all_tjr']}checked="true"{/if} /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_mall_all_tjr]" value="1" {if $settings['index_mall_all_tjr'] == 1}checked="true"{/if} /> 有推荐人才显示</label>
							<span class="help-block" style="color:#f00">首页搜索栏、电商平台是否有推荐人才显示。</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">搜索框提示文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[index_search_placeholder]" class="form-control" placeholder="" value="{if $settings['index_search_placeholder']}{$settings['index_search_placeholder']}{else}搜索商品标题，先领券再购买{/if}" />
						  <span class="help-block" style="color:red;">*默认文字：搜索商品标题，先领券再购买</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">淘宝设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝是否关注公众号才显示：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_mall_tb_gzh]" value="0" {if $settings['index_mall_tb_gzh'] == 0}checked="true"{/if}{if !$settings['index_mall_tb_gzh']}checked="true"{/if} /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_mall_tb_gzh]" value="1" {if $settings['index_mall_tb_gzh'] == 1}checked="true"{/if} /> 关注才显示</label>
							<span class="help-block" style="color:#f00">淘宝是否关注公众号才显示，适用于小程序与公众号联营模式。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝是否有推荐人才显示：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_mall_tb_tjr]" value="0" {if $settings['index_mall_tb_tjr'] == 0}checked="true"{/if}{if !$settings['index_mall_tb_tjr']}checked="true"{/if} /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_mall_tb_tjr]" value="1" {if $settings['index_mall_tb_tjr'] == 1}checked="true"{/if} /> 有推荐人才显示</label>
							<span class="help-block" style="color:#f00">淘宝是否有推荐人才显示</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品详情页复制淘口令后提示文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_tkl_text]" class="form-control" placeholder="" value="{if $settings['mall_tkl_text']}{$settings['mall_tkl_text']}{else}复制成功，打开手机淘宝领券购买{/if}" />
						  <span class="help-block" style="color:red;">*默认为：复制成功，打开手机淘宝领券购买</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">自定义淘口令格式</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_tkl_geshi]" class="form-control" placeholder="" value="{if $settings['mall_tkl_geshi']}{$settings['mall_tkl_geshi']}{else}666淘口令666淘链接 标题/{/if}" />
						  <span class="help-block" style="color:red;">*默认为：666淘口令666淘链接 标题/，其中淘口令、淘链接、标题为变量，会被自动替换</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">列表页设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品列表是否显示返利信息</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_is_fanli]" value="1" {if $settings['mall_is_fanli'] == 1}checked="true"{/if}{if $settings['mall_is_fanli'] == ''}checked="true"{/if} /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_is_fanli]" value="0" {if $settings['mall_is_fanli'] == 0}checked="true"{/if} /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团优选商品列表是否显示返利信息</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_youxuan_is_fanli]" value="1" {if $settings['mall_youxuan_is_fanli'] == 1}checked="true"{/if}{if $settings['mall_youxuan_is_fanli'] == ''}checked="true"{/if} /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_youxuan_is_fanli]" value="0" {if $settings['mall_youxuan_is_fanli'] == 0}checked="true"{/if} /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品列表返利文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_list_fanli_text]" class="form-control" placeholder="" value="{if $settings['mall_list_fanli_text']}{$settings['mall_list_fanli_text']}{else}返{/if}" />
						  <span class="help-block" style="color:red;">*默认为：返</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品列表返利信息样式</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_list_fanli_style]" class="form-control" placeholder="" value="{if $settings['mall_list_fanli_style']}{$settings['mall_list_fanli_style']}{else}background-color: #ff6315!important;color: #FFFFFF;border-radius: 12rpx;{/if}" />
						  <span class="help-block" style="color:red;">*默认为：background-color: #ff6315!important;color: #FFFFFF;border-radius: 12rpx;</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品列表商品信息样式</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_list_goods_style]" class="form-control" placeholder="" value="{if $settings['mall_list_goods_style']}{$settings['mall_list_goods_style']}{else}border-radius: 12rpx;{/if}" />
						  <span class="help-block" style="color:red;">*默认为：border-radius: 12rpx;</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">商品详情页设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品详情是否显示返利信息</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_goods_is_fanli]" value="1" {if $settings['mall_goods_is_fanli'] == 1}checked="true"{/if}{if $settings['mall_goods_is_fanli'] == ''}checked="true"{/if} /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_goods_is_fanli]" value="0" {if $settings['mall_goods_is_fanli'] == 0}checked="true"{/if} /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品详情返利文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_goods_fanli_text]" class="form-control" placeholder="" value="{if $settings['mall_goods_fanli_text']}{$settings['mall_goods_fanli_text']}{else}预估收益{/if}" />
						  <span class="help-block" style="color:red;">*默认为：预估收益</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">商品海报二维码设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">海报二维码类型</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_goods_poster_qrcode_type]" value="0" {if $settings['mall_goods_poster_qrcode_type'] == 0}checked="true"{/if}{if $settings['mall_goods_poster_qrcode_type'] == ''}checked="true"{/if} /> 小程序二维码</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_goods_poster_qrcode_type]" value="1" {if $settings['mall_goods_poster_qrcode_type'] == 1}checked="true"{/if} /> 公众号二维码</label>
							<span class="help-block" style="color:red;">*1、使用公众号二维码请先设置“联营公众号uniacid”（参数设置-公众号设置）；</span>
							<span class="help-block" style="color:red;">*2、公众号邀请海报二维码永久有效（数量最多10万个），其他公众号二维码有效期为30天，数量无限制；</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="job">
				<div class="panel-heading">订单获取计划任务：请按需将下面的url加入到宝塔面板计划任务中</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">*统一订单获取任务，任务类型为访问url，每10分钟执行一次，url地址为：</label>
						<div class="col-sm-6">
							{$_W['siteroot']}addons/{php echo $this->modulename}/get_order.php?id={$_W['uniacid']}&sid=折淘客sid&order_scene=1
							<span class="help-block" style="color:blue;">*替换“折淘客sid”为折淘客sid，如果淘宝联盟使用的是普通pid，则只使用此订单获取计划任务即可，不要添加下面那个订单获取计划任务url；</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">*统一订单获取任务，任务类型为访问url，每10分钟执行一次，url地址为：</label>
						<div class="col-sm-6">
							{$_W['siteroot']}addons/{php echo $this->modulename}/get_order.php?id={$_W['uniacid']}&sid=折淘客sid&order_scene=2
							<span class="help-block" style="color:green;">*替换“折淘客sid”为折淘客sid，如果淘宝联盟使用的是渠道pid，则只使用此订单获取计划任务即可，不要添加上面那个订单获取计划任务url；</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:orange;">*订单获取任务其他参数：</label>
						<div class="col-sm-6">
							<span class="help-block" style="color:orange;">1）只获取聚推客的订单，请在url后面加：&type=8</span>
							<span class="help-block" style="color:orange;">2）只获取美团联盟（官方）的订单，请在url后面加：&type=3</span>
							<span class="help-block" style="color:orange;">3）只获取美团分销联盟（官方）的订单，请在url后面加：&type=2</span>
							<span class="help-block" style="color:orange;">4）只获取订单侠的订单，请在url后面加：&type=1</span>
							<span class="help-block" style="color:orange;">5）只获取淘宝联盟（含饿了么）的订单，请在url后面加：&type=4</span>
							<span class="help-block" style="color:orange;">6）只获取京东的订单，请在url后面加：&type=5</span>
							<span class="help-block" style="color:orange;">7）只获取拼多多的订单，请在url后面加：&type=6</span>
							<span class="help-block" style="color:orange;">8）只获取唯品会的订单，请在url后面加：&type=7</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">其他计划任务：请按需将下面的url加入到宝塔面板计划任务中</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">1、释放pid，任务类型为访问url，每1分钟执行一次，url地址为：</label>
						<div class="col-sm-6">
						    {if $settings['pid_pwd']}{$_W['siteroot']}addons/{php echo $this->modulename}/pid.php?id={$_W['uniacid']}&time=小时数&pwd={$settings['pid_pwd']}{else}请先设置释放pid密码{/if}
							<span class="help-block" style="color:red;">{if $settings['pid_pwd']}说明：联营的小程序只需要添加一个任务即可。小时数填写数字，表示pid多少小时没有使用（点击领取红包），则释放掉给其他用户使用，系统强制最少72小时释放一次，小时数请设置大于72小时。{else}请先设置释放pid密码{/if}</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">1、释放pid密码</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[pid_pwd]" class="form-control" placeholder="" value="{if $settings['pid_pwd']}{$settings['pid_pwd']}{else}{php echo mt_rand(1111, 9999);}{/if}" />
						  <span class="help-block" style="color:red;">*填写密码，填写保存之后，才能获取释放pid的url。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">2、美团每月发放佣金，任务类型为访问url，每月初执行一次，url地址为：</label>
						<div class="col-sm-6">
							{$_W['siteroot']}addons/{php echo $this->modulename}/settlement_meituan.php?id={$_W['uniacid']}
							<span class="help-block" style="color:red;">说明：发放上月已完成订单佣金到用户余额，执行时间一般为每月10-15号执行一次，具体执行时间自行确定。（不要与实时发放佣金任务重复）</span>
						</div>
						
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">3、饿了么每月发放佣金，任务类型为访问url，每月20号后执行一次，url地址为：</label>
						<div class="col-sm-6">
							{$_W['siteroot']}addons/{php echo $this->modulename}/settlement_elm.php?id={$_W['uniacid']}
							<span class="help-block" style="color:red;">说明：发放上月已完成订单佣金到用户余额，执行时间一般为每月20号后执行一次，具体执行时间自行确定。（不要与实时发放佣金任务重复）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">4、美团实时发放佣金，任务类型为访问url，每1分钟执行一次，url地址为：</label>
						<div class="col-sm-6">
							{$_W['siteroot']}addons/{php echo $this->modulename}/settlement_meituan_now.php?id={$_W['uniacid']}
							<span class="help-block" style="color:red;">说明：发放已完成订单的佣金到用户余额。（不要与每月发放佣金任务重复）</span>
						</div>
						
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">5、饿了么实时发放佣金，任务类型为访问url，每1分钟执行一次，url地址为：</label>
						<div class="col-sm-6">
							{$_W['siteroot']}addons/{php echo $this->modulename}/settlement_elm_now.php?id={$_W['uniacid']}
							<span class="help-block" style="color:red;">说明：发放已完成订单的佣金到用户余额。（不要与每月发放佣金任务重复）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">6、点餐提醒，任务类型为访问url，url地址为：</label>
						<div class="col-sm-6">
							{$_W['siteroot']}addons/{php echo $this->modulename}/subscribemessage.php?id={$_W['uniacid']}
							<span class="help-block" style="color:red;">说明：点餐提醒，具体执行时间请自行确定。</span>
						</div>
						
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">7、升级任务，每1分钟执行一次，任务类型为访问url，url地址为：</label>
						<div class="col-sm-6">
							{$_W['siteroot']}addons/{php echo $this->modulename}/task.php?id={$_W['uniacid']}
							<span class="help-block" style="color:red;">说明：升级任务，用于根据新用户、新订单按照升级任务进行会员升级。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">8、签到提醒，任务类型为访问url，url地址为：</label>
						<div class="col-sm-6">
							{$_W['siteroot']}addons/{php echo $this->modulename}/subscribemessage_sign.php?id={$_W['uniacid']}
							<span class="help-block" style="color:red;">说明：签到提醒，具体执行时间请自行确定。</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="oldcontent">
				<div class="panel-heading">旧版内容管理（新版前端请配合新版内容管理使用）</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">广告管理：</label>
						<div class="col-sm-6">
							<a href="{php echo $this->createWebUrl('ad',array('op'=>'display'))}">点击打开</a>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">外卖1版首页内容：</label>
						<div class="col-sm-6">
							<a href="{php echo $this->createWebUrl('waimai',array('op'=>'display'))}">点击打开</a>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">外卖2版首页内容：</label>
						<div class="col-sm-6">
							<a href="{php echo $this->createWebUrl('waimaitt',array('op'=>'display'))}">点击打开</a>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">外卖3版首页内容：</label>
						<div class="col-sm-6">
							<a href="{php echo $this->createWebUrl('waimainew',array('op'=>'display'))}">点击打开</a>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">积分兑换中心导航：</label>
						<div class="col-sm-6">
							<a href="{php echo $this->createWebUrl('jifen',array('op'=>'display'))}">点击打开</a>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="xcxpath">
				<div class="panel-heading">小程序内部跳转路径</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../index/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../meituan/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../meituan/index?to=sc" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团吃喝玩乐页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../meituangroup/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../elm/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么商超页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../elm/index?to=sc" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票首页：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../movie/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票订单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../user/movieorder" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分兑换中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../shop/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分商品详情：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../../pagesA/pages/shopA/detail?item_id=商品id" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分商品订单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../user/creditorder" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">任务中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../shop/task" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../user/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章列表：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../index/list" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章详情：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../index/page?page_id=文章id" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">今天吃什么：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../../pagesA/pages/eat/index" />
						</div>
					</div>
				</div>
				<div class="panel-heading">公众号菜单路径</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/index/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/meituan/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/meituan/index?to=sc" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团吃喝玩乐页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/meituangroup/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/elm/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么商超页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/elm/index?to=sc" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票首页：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/movie/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票订单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/user/movieorder" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分兑换中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/shop/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分商品详情：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pagesA/pages/shopA/detail?item_id=商品id" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分商品订单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/user/creditorder" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">任务中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/shop/task" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/user/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章列表：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/index/list" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章详情：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/index/page?page_id=文章id" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">今天吃什么：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pagesA/pages/eat/index" />
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="change">
				<div class="panel-heading">联营数据迁移</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">数据迁移密码</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[pwd]" class="form-control" placeholder="" value="{if $settings['pwd']}{$settings['pwd']}{else}{php echo mt_rand(1111, 9999);}{/if}" />
						  <span class="help-block" style="color:red;">*填写密码，填写保存之后，才能获取数据迁移url。</span>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">数据迁移url，复制url到浏览器打开：</label>
						<div class="col-sm-6">
							{if $settings['pwd'] && $settings['system_id']}{$_W['siteroot']}addons/{php echo $this->modulename}/change.php?&xcxid={$_W['uniacid']}&lyid={$settings['system_id']}&pwd={$settings['pwd']}{else}请先设置数据迁移密码及联营平台id{/if}
						</div>
					</div>
					
				</div>
			</div>
		</div>
		
		<div class="form-group col-sm-12">
			<input type="submit" name="submit" value="提交" class="btn btn-primary" />
			<input type="hidden" name="token" value="{$_W['token']}" />
		</div>
	</form>
</div>
<script>
$("input:radio[name=movie_ticket_type]").click(function(){
	var val = $(this).val();
	if(val == 0){
		$("#movie_ticket_adminopenid").hide();
		$("#movie_tpl_xcxdaibaojia").hide();
		//$("#movie_tpl_xcxbaojiaupdate").hide();
		//$("#movie_tpl_xcjingjia").hide();
	}else if(val == 1){
		$("#movie_ticket_adminopenid").show();
		$("#movie_tpl_xcxdaibaojia").show();
		//$("#movie_tpl_xcxbaojiaupdate").show();
		//$("#movie_tpl_xcjingjia").show();
	}
});
</script>
{template 'common/footer'}